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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9991/0.9991, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 180.6 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009447, allocations: 95.17 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 275.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.453e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5002, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.6518, allocations: 111.5 MB / 0.8664 GB, free: 264 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.6521, allocations: 87.94 kB / 0.8664 GB, free: 176 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02024/0.6724, allocations: 7.899 MB / 0.8742 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6724, allocations: 8 kB / 0.8742 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.6724, allocations: 11.94 kB / 0.8742 GB, free: 8.258 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006589/0.6731, allocations: 478.5 kB / 0.8746 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6732, allocations: 12.02 kB / 0.8746 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.6732, allocations: 23.72 kB / 0.8747 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.6736, allocations: 266.5 kB / 0.8749 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.6736, allocations: 7.953 kB / 0.8749 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.6737, allocations: 8 kB / 0.8749 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000839/0.6745, allocations: 0.7295 MB / 0.8756 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.6748, allocations: 184.8 kB / 0.8758 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6748, allocations: 0 / 0.8758 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.6749, allocations: 0 / 0.8758 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.6749, allocations: 4 kB / 0.8758 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.6756, allocations: 0.5246 MB / 0.8763 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.676, allocations: 280.1 kB / 0.8766 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.6762, allocations: 93.39 kB / 0.8767 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.6762, allocations: 16.25 kB / 0.8767 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.6765, allocations: 161.9 kB / 0.8769 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.6765, allocations: 0 / 0.8769 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.000482/0.677, allocations: 261.2 kB / 0.8771 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.6771, allocations: 132.5 kB / 0.8772 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.6773, allocations: 247 kB / 0.8775 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.6774, allocations: 25.7 kB / 0.8775 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.6775, allocations: 120.8 kB / 0.8776 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.6775, allocations: 110.4 kB / 0.8777 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.6776, allocations: 0 / 0.8777 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6777, allocations: 346.8 kB / 0.878 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.6778, allocations: 71.98 kB / 0.8781 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.678, allocations: 111.2 kB / 0.8782 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.6781, allocations: 108 kB / 0.8783 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6781, allocations: 0 / 0.8783 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000376/0.6785, allocations: 261.6 kB / 0.8786 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6785, allocations: 4 kB / 0.8786 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6785, allocations: 4 kB / 0.8786 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6786, allocations: 0 / 0.8786 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.6788, allocations: 63.89 kB / 0.8786 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.6788, allocations: 4 kB / 0.8786 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.679, allocations: 19.75 kB / 0.8787 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.679, allocations: 19.92 kB / 0.8787 GB, free: 3.379 MB / 0.5417 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.6791, allocations: 116.8 kB / 0.8788 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003887/0.6795, allocations: 265.4 kB / 0.879 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.6796, allocations: 27.72 kB / 0.8791 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.6802, allocations: 354 kB / 0.8794 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6802, allocations: 4 kB / 0.8794 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6802, allocations: 0 / 0.8794 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6802, allocations: 0 / 0.8794 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.6805, allocations: 301.8 kB / 0.8797 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6805, allocations: 0 / 0.8797 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.6807, allocations: 59.95 kB / 0.8798 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.6807, allocations: 7.984 kB / 0.8798 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.6807, allocations: 11.98 kB / 0.8798 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6807, allocations: 0 / 0.8798 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6807, allocations: 1.719 kB / 0.8798 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.6812, allocations: 302.2 kB / 0.8801 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.6813, allocations: 156.6 kB / 0.8802 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.6814, allocations: 4 kB / 0.8802 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.6815, allocations: 19.92 kB / 0.8802 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.6816, allocations: 19.97 kB / 0.8803 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.6816, allocations: 15.98 kB / 0.8803 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001735/0.6818, allocations: 209.6 kB / 0.8805 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6818, allocations: 0 / 0.8805 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002899/0.6821, allocations: 52 kB / 0.8805 GB, free: 1.414 MB / 0.5417 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.6835, allocations: 1.085 MB / 0.8816 GB, free: 396 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.6838, allocations: 207.8 kB / 0.8818 GB, free: 188 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6838, allocations: 0 / 0.8818 GB, free: 188 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.684, allocations: 119.8 kB / 0.8819 GB, free: 68 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6842, allocations: 23.11 kB / 0.8819 GB, free: 44 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.6851, allocations: 451.7 kB / 0.8824 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.6855, allocations: 0.7624 MB / 0.8831 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000322/0.6858, allocations: 148 kB / 0.8832 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.686, allocations: 91.39 kB / 0.8833 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of SimCode: time 2.81e-07/0.686, allocations: 7.938 kB / 0.8833 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8233/1.509, allocations: 4.992 MB / 0.8882 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003576/1.51, allocations: 204.8 kB / 0.8884 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/3.345, allocations: 0 / 0.8884 GB, free: 9.297 MB / 0.5573 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/linux/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)