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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007455/0.007455, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 270.2 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8923/0.8923, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 16.25 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001206/0.1328, allocations: 1.102 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.1359, allocations: 2.875 MB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.136, allocations: 0 / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.45e-05/0.136, allocations: 13.75 kB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/0.1361, allocations: 31.88 kB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.1365, allocations: 160.2 kB / 0.6893 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1368, allocations: 339.9 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.1369, allocations: 4.938 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.1369, allocations: 83.86 kB / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1371, allocations: 149.2 kB / 0.6898 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1371, allocations: 8 kB / 0.6899 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.1375, allocations: 152.8 kB / 0.69 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.1376, allocations: 87.23 kB / 0.6901 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.997e-05/0.1377, allocations: 117.3 kB / 0.6902 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.138, allocations: 263.3 kB / 0.6904 GB, free: 9.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.138, allocations: 4 kB / 0.6905 GB, free: 9.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.138, allocations: 0 / 0.6905 GB, free: 9.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.138, allocations: 0 / 0.6905 GB, free: 9.613 MB / 494.1 MB 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.0007046/0.1387, allocations: 0.5348 MB / 0.691 GB, free: 9.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1387, allocations: 12.03 kB / 0.691 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1388, allocations: 46.73 kB / 0.691 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.1389, allocations: 20.75 kB / 0.6911 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1391, allocations: 240.1 kB / 0.6913 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.1391, allocations: 28.36 kB / 0.6913 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1392, allocations: 12.38 kB / 0.6913 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.1398, allocations: 318 kB / 0.6916 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1398, allocations: 0 / 0.6916 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1398, allocations: 8 kB / 0.6916 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1398, allocations: 0 / 0.6916 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1413, allocations: 0.8152 MB / 0.6924 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.1416, allocations: 309.2 kB / 0.6927 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.1433, allocations: 0.7729 MB / 0.6935 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.1438, allocations: 264.7 kB / 0.6937 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.1441, allocations: 396.2 kB / 0.6941 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1442, allocations: 39.5 kB / 0.6941 GB, free: 5.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.342e-06/0.1442, allocations: 0 / 0.6941 GB, free: 5.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001616/0.1458, allocations: 0.7386 MB / 0.6949 GB, free: 4.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.1458, allocations: 59.41 kB / 0.6949 GB, free: 4.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.1459, allocations: 128.9 kB / 0.695 GB, free: 4.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.146, allocations: 29.7 kB / 0.6951 GB, free: 4.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.146, allocations: 92.8 kB / 0.6952 GB, free: 4.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/0.1461, allocations: 118.2 kB / 0.6953 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1461, allocations: 33.7 kB / 0.6953 GB, free: 4.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.1462, allocations: 330.8 kB / 0.6956 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.1467, allocations: 223.8 kB / 0.6958 GB, free: 3.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.1472, allocations: 228.8 kB / 0.6961 GB, free: 3.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.1482, allocations: 420.9 kB / 0.6965 GB, free: 3.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1482, allocations: 0 / 0.6965 GB, free: 3.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00107/0.1492, allocations: 0.5237 MB / 0.697 GB, free: 2.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1493, allocations: 4 kB / 0.697 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1493, allocations: 0 / 0.697 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1493, allocations: 4 kB / 0.697 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.1497, allocations: 111.8 kB / 0.6971 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1497, allocations: 4 kB / 0.6971 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.1499, allocations: 63.8 kB / 0.6971 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.1499, allocations: 8 kB / 0.6972 GB, free: 2.445 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.15, allocations: 147.1 kB / 0.6973 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.1501, allocations: 23.73 kB / 0.6973 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.1513, allocations: 0.5709 MB / 0.6979 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1513, allocations: 4 kB / 0.6979 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1513, allocations: 0 / 0.6979 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1513, allocations: 3.984 kB / 0.6979 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.1516, allocations: 317.1 kB / 0.6982 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1516, allocations: 3.938 kB / 0.6982 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.152, allocations: 111.9 kB / 0.6983 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.152, allocations: 0 / 0.6983 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.152, allocations: 15.98 kB / 0.6983 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.152, allocations: 0 / 0.6983 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.152, allocations: 4 kB / 0.6983 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.1531, allocations: 0.5475 MB / 0.6988 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1532, allocations: 100.8 kB / 0.6989 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1532, allocations: 8 kB / 0.6989 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.1534, allocations: 47.95 kB / 0.699 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.1536, allocations: 115.8 kB / 0.6991 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.1537, allocations: 23.98 kB / 0.6991 GB, free: 328 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.1537, allocations: 102.8 kB / 0.6992 GB, free: 228 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1537, allocations: 4 kB / 0.6992 GB, free: 224 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.154, allocations: 115.9 kB / 0.6993 GB, free: 108 kB / 494.1 MB 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 () * Number of clocked 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 (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.001557/0.1556, allocations: 1.181 MB / 0.7005 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.1567, allocations: 0.5192 MB / 0.701 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1567, allocations: 0 / 0.701 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/0.1573, allocations: 291.7 kB / 0.7013 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1576, allocations: 67.94 kB / 0.7013 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.1616, allocations: 2.887 MB / 0.7042 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1619, allocations: 0.733 MB / 0.7049 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003832/0.1623, allocations: 184 kB / 0.7051 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1624, allocations: 63.41 kB / 0.7051 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1624, allocations: 0 / 0.7051 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.1778, allocations: 6.796 MB / 0.7118 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.178, allocations: 224.4 kB / 0.712 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.901, allocations: 0 / 0.712 GB, free: 3.27 MB / 0.4981 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/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)