Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00751/0.00751, allocations: 102.3 kB / 15.73 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 186.4 kB / 16.67 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 279 kB / 290.8 MB, free: 1.727 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9158/0.9158, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001874, allocations: 99.84 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1764, allocations: 86.98 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00355/0.18, allocations: 1.64 MB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.182, allocations: 1.176 MB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1821, allocations: 4 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1824, allocations: 19.86 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.1827, allocations: 71.67 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1831, allocations: 138.3 kB / 0.7689 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1834, allocations: 229.6 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1836, allocations: 24.2 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1837, allocations: 87.75 kB / 0.7692 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1839, allocations: 87.78 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.184, allocations: 19.98 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1842, allocations: 75.97 kB / 0.7694 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1843, allocations: 79.81 kB / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1844, allocations: 107.3 kB / 0.7696 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.1848, allocations: 279.1 kB / 0.7698 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.1848, allocations: 4 kB / 0.7698 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.246e-06/0.1849, allocations: 0 / 0.7698 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.1849, allocations: 3.938 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001067/0.1859, allocations: 0.5342 MB / 0.7704 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.186, allocations: 8.031 kB / 0.7704 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.773e-05/0.1861, allocations: 54.73 kB / 0.7704 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1862, allocations: 24.66 kB / 0.7704 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1867, allocations: 263.6 kB / 0.7707 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.1867, allocations: 12.38 kB / 0.7707 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.1867, allocations: 16.38 kB / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.1871, allocations: 221.2 kB / 0.7709 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1872, allocations: 4 kB / 0.7709 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.1872, allocations: 7.984 kB / 0.7709 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1872, allocations: 4 kB / 0.7709 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008411/0.1881, allocations: 0.7371 MB / 0.7717 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008853/0.1889, allocations: 0.5669 MB / 0.7722 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.1894, allocations: 303.6 kB / 0.7725 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.1896, allocations: 101.4 kB / 0.7726 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.1897, allocations: 20.25 kB / 0.7726 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/0.19, allocations: 168.9 kB / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.1901, allocations: 0 / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0006531/0.1907, allocations: 381.6 kB / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.1908, allocations: 132.5 kB / 0.7733 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1911, allocations: 308 kB / 0.7736 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1911, allocations: 29.7 kB / 0.7736 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.1912, allocations: 128.7 kB / 0.7737 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.1913, allocations: 110.4 kB / 0.7738 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.1914, allocations: 65.69 kB / 0.7739 GB, free: 460 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1916, allocations: 338.8 kB / 0.7742 GB, free: 112 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1917, allocations: 75.95 kB / 0.7743 GB, free: 36 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.341/0.5327, allocations: 124.1 kB / 0.7744 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.5331, allocations: 219.5 kB / 0.7746 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5331, allocations: 0.5156 kB / 0.7746 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005435/0.5337, allocations: 272.4 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5337, allocations: 6.5 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5337, allocations: 1.875 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.5338, allocations: 2.156 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.534, allocations: 63.86 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.534, allocations: 1.125 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.5342, allocations: 29.92 kB / 0.775 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.5342, allocations: 14.78 kB / 0.775 GB, free: 14.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.5344, allocations: 163.1 kB / 0.7751 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.5345, allocations: 22.58 kB / 0.7752 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.5351, allocations: 382.1 kB / 0.7755 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5351, allocations: 5.406 kB / 0.7755 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5352, allocations: 1.375 kB / 0.7755 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5352, allocations: 3.406 kB / 0.7755 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.5355, allocations: 326.4 kB / 0.7758 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.5355, allocations: 1.969 kB / 0.7758 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5356, allocations: 60.91 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5357, allocations: 2.375 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.5357, allocations: 12.89 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5357, allocations: 1.75 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5357, allocations: 1.297 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.5361, allocations: 329.4 kB / 0.7762 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5363, allocations: 140.1 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.5363, allocations: 11.64 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.5364, allocations: 12.11 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.5365, allocations: 27.25 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.5365, allocations: 11.05 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002143/0.5368, allocations: 231 kB / 0.7767 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5368, allocations: 0 / 0.7767 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002832/0.5371, allocations: 65.23 kB / 0.7767 GB, free: 14.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.5385, allocations: 1.157 MB / 0.7778 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.5389, allocations: 234.5 kB / 0.7781 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5389, allocations: 1.062 kB / 0.7781 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.5391, allocations: 129.3 kB / 0.7782 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.5394, allocations: 38.33 kB / 0.7782 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.542, allocations: 2.459 MB / 0.7806 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.5422, allocations: 0.7535 MB / 0.7814 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003439/0.5425, allocations: 145.1 kB / 0.7815 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.5427, allocations: 97.11 kB / 0.7816 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.12e-07/0.5427, allocations: 0 / 0.7816 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.5668, allocations: 5.558 MB / 0.787 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/8.033, allocations: 16.97 kB / 0.787 GB, free: 10.35 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)