Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",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.7611/0.7611, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009993/0.0009995, allocations: 186.3 kB / 187.3 MB, free: 11.86 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.412/1.412, allocations: 221.3 MB / 441.4 MB, free: 4.633 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.0009092/0.0009094, allocations: 97.55 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 271.4 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.201e-05, allocations: 0 / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4478, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8236/1.271, allocations: 401.3 MB / 1.156 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.272, allocations: 72.33 kB / 1.156 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03084/1.303, allocations: 13.57 MB / 1.17 GB, free: 11.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/1.303, allocations: 0 / 1.17 GB, free: 11.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.743e-05/1.303, allocations: 4 kB / 1.17 GB, free: 11.06 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000917/1.304, allocations: 0.5161 MB / 1.17 GB, free: 10.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.304, allocations: 8.031 kB / 1.17 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/1.304, allocations: 49.61 kB / 1.17 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/1.304, allocations: 19.77 kB / 1.17 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/1.304, allocations: 238.9 kB / 1.17 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/1.304, allocations: 23.11 kB / 1.17 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/1.304, allocations: 11.75 kB / 1.17 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/1.305, allocations: 228.1 kB / 1.171 GB, free: 9.957 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.305, allocations: 0 / 1.171 GB, free: 9.957 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.305, allocations: 7.438 kB / 1.171 GB, free: 9.957 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/1.305, allocations: 4 kB / 1.171 GB, free: 9.953 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009223/1.306, allocations: 0.6302 MB / 1.171 GB, free: 9.387 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/1.306, allocations: 317.3 kB / 1.172 GB, free: 9.059 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/1.307, allocations: 0.5935 MB / 1.172 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/1.308, allocations: 167.8 kB / 1.172 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004704/1.308, allocations: 394.2 kB / 1.173 GB, free: 8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.308, allocations: 41.06 kB / 1.173 GB, free: 7.953 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.314e-06/1.308, allocations: 0 / 1.173 GB, free: 7.953 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0006088/1.309, allocations: 336.3 kB / 1.173 GB, free: 7.668 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/1.309, allocations: 55.41 kB / 1.173 GB, free: 7.602 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/1.309, allocations: 116.1 kB / 1.173 GB, free: 7.488 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/1.309, allocations: 28.83 kB / 1.173 GB, free: 7.457 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/1.309, allocations: 87.23 kB / 1.173 GB, free: 7.375 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.309, allocations: 131.5 kB / 1.173 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.309, allocations: 11.88 kB / 1.173 GB, free: 7.254 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.309, allocations: 330 kB / 1.174 GB, free: 6.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/1.31, allocations: 131.8 kB / 1.174 GB, free: 6.824 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/1.31, allocations: 139.1 kB / 1.174 GB, free: 6.715 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/1.31, allocations: 111.3 kB / 1.174 GB, free: 6.621 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.31, allocations: 0 / 1.174 GB, free: 6.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005533/1.311, allocations: 340.5 kB / 1.174 GB, free: 6.328 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.311, allocations: 4 kB / 1.174 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.311, allocations: 4 kB / 1.174 GB, free: 6.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.311, allocations: 3.938 kB / 1.174 GB, free: 6.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/1.311, allocations: 111.5 kB / 1.175 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.311, allocations: 0 / 1.175 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/1.311, allocations: 71.02 kB / 1.175 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/1.311, allocations: 11.88 kB / 1.175 GB, free: 6.137 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001025/1.312, allocations: 119.4 kB / 1.175 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/1.312, allocations: 15.81 kB / 1.175 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006869/1.312, allocations: 405 kB / 1.175 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.312, allocations: 4 kB / 1.175 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.312, allocations: 0 / 1.175 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/1.312, allocations: 4 kB / 1.175 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/1.313, allocations: 323.5 kB / 1.175 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.313, allocations: 0 / 1.175 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/1.313, allocations: 111.8 kB / 1.176 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/1.313, allocations: 4 kB / 1.176 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/1.313, allocations: 11.67 kB / 1.176 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.313, allocations: 6.266 kB / 1.176 GB, free: 5.227 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.313, allocations: 0 / 1.176 GB, free: 5.227 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/1.314, allocations: 384.9 kB / 1.176 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/1.314, allocations: 99.8 kB / 1.176 GB, free: 4.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/1.314, allocations: 7.312 kB / 1.176 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/1.314, allocations: 54.58 kB / 1.176 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.314, allocations: 114.7 kB / 1.176 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/1.314, allocations: 11 kB / 1.176 GB, free: 4.602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.962e-05/1.314, allocations: 103.5 kB / 1.176 GB, free: 4.508 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.314, allocations: 0 / 1.176 GB, free: 4.508 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004669/1.315, allocations: 124.4 kB / 1.176 GB, free: 4.398 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.001283/1.316, allocations: 1.051 MB / 1.177 GB, free: 3.379 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005525/1.317, allocations: 346.6 kB / 1.178 GB, free: 3.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.317, allocations: 0 / 1.178 GB, free: 3.102 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/1.317, allocations: 195.6 kB / 1.178 GB, free: 2.945 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/1.317, allocations: 65.31 kB / 1.178 GB, free: 2.895 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/1.318, allocations: 399.5 kB / 1.178 GB, free: 2.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.319, allocations: 0.7388 MB / 1.179 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004813/1.319, allocations: 186.4 kB / 1.179 GB, free: 1.578 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.319, allocations: 63.27 kB / 1.179 GB, free: 1.539 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/1.319, allocations: 0 / 1.179 GB, free: 1.539 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4009/1.72, allocations: 7.589 MB / 1.187 GB, free: 268.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.72, allocations: 172 kB / 1.187 GB, free: 268 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/3.743, allocations: 0 / 1.187 GB, free: 268 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)