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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 290.6 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9063/0.9063, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 94.06 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002654/0.1465, allocations: 1.371 MB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.1501, allocations: 2.909 MB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.1501, allocations: 0 / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.399e-05/0.1503, allocations: 3.938 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1504, allocations: 43.8 kB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.151, allocations: 191.4 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1513, allocations: 235.5 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.1513, allocations: 15.92 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1515, allocations: 91.84 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1516, allocations: 119.7 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1516, allocations: 12 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.1521, allocations: 139.9 kB / 0.6853 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1522, allocations: 87.81 kB / 0.6854 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1523, allocations: 91.58 kB / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.1527, allocations: 271.3 kB / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1527, allocations: 0 / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1527, allocations: 0 / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1527, allocations: 0 / 0.6857 GB, free: 11.03 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.0008399/0.1535, allocations: 0.5375 MB / 0.6862 GB, free: 10.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1536, allocations: 15.97 kB / 0.6862 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.1536, allocations: 54.73 kB / 0.6863 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1538, allocations: 16.75 kB / 0.6863 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.154, allocations: 240 kB / 0.6865 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.1541, allocations: 24.36 kB / 0.6866 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1541, allocations: 16.38 kB / 0.6866 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.1548, allocations: 286 kB / 0.6869 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1548, allocations: 0 / 0.6869 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.1548, allocations: 4 kB / 0.6869 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1548, allocations: 4 kB / 0.6869 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.1562, allocations: 0.7566 MB / 0.6876 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1566, allocations: 305.3 kB / 0.6879 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.1582, allocations: 0.6864 MB / 0.6886 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.1587, allocations: 232.7 kB / 0.6888 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.1591, allocations: 388.3 kB / 0.6892 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1591, allocations: 39.5 kB / 0.6892 GB, free: 7.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.1591, allocations: 0 / 0.6892 GB, free: 7.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001552/0.1607, allocations: 0.6449 MB / 0.6898 GB, free: 6.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1607, allocations: 59.34 kB / 0.6899 GB, free: 6.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.1608, allocations: 132.9 kB / 0.69 GB, free: 6.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1609, allocations: 29.7 kB / 0.69 GB, free: 6.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.1609, allocations: 92.8 kB / 0.6901 GB, free: 6.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.161, allocations: 130.1 kB / 0.6902 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.1611, allocations: 65.69 kB / 0.6903 GB, free: 6.023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1612, allocations: 322.8 kB / 0.6906 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.1617, allocations: 203.7 kB / 0.6908 GB, free: 5.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.1622, allocations: 196.8 kB / 0.691 GB, free: 5.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/0.1631, allocations: 368.7 kB / 0.6913 GB, free: 4.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1631, allocations: 0 / 0.6913 GB, free: 4.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001043/0.1642, allocations: 464.6 kB / 0.6918 GB, free: 4.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1642, allocations: 8 kB / 0.6918 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1642, allocations: 3.938 kB / 0.6918 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1642, allocations: 0 / 0.6918 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.1646, allocations: 91.92 kB / 0.6919 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1646, allocations: 7.938 kB / 0.6919 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1648, allocations: 43.8 kB / 0.6919 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.1648, allocations: 19.98 kB / 0.692 GB, free: 4.312 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.0001536/0.165, allocations: 135.1 kB / 0.6921 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.165, allocations: 27.67 kB / 0.6921 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.1662, allocations: 0.5161 MB / 0.6926 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1662, allocations: 4 kB / 0.6926 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1663, allocations: 0 / 0.6926 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1663, allocations: 0 / 0.6926 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.1666, allocations: 317.2 kB / 0.6929 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1666, allocations: 3.938 kB / 0.6929 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.167, allocations: 103.8 kB / 0.693 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.167, allocations: 4 kB / 0.693 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.167, allocations: 11.98 kB / 0.693 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.167, allocations: 4 kB / 0.693 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.167, allocations: 0 / 0.693 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1681, allocations: 0.4889 MB / 0.6935 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.1682, allocations: 100.8 kB / 0.6936 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.1682, allocations: 12 kB / 0.6936 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1684, allocations: 31.97 kB / 0.6937 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.1687, allocations: 119.8 kB / 0.6938 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.1687, allocations: 15.98 kB / 0.6938 GB, free: 2.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.1688, allocations: 99.27 kB / 0.6939 GB, free: 2.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1688, allocations: 0 / 0.6939 GB, free: 2.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.1692, allocations: 115.9 kB / 0.694 GB, free: 2.125 MB / 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.001659/0.1708, allocations: 1.115 MB / 0.6951 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.1722, allocations: 0.5621 MB / 0.6956 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1722, allocations: 0 / 0.6956 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.1727, allocations: 267.4 kB / 0.6959 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1732, allocations: 71.92 kB / 0.696 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.1774, allocations: 2.66 MB / 0.6986 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1778, allocations: 0.7328 MB / 0.6993 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004207/0.1782, allocations: 191.7 kB / 0.6995 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1784, allocations: 59.41 kB / 0.6995 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1784, allocations: 0 / 0.6995 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.2043, allocations: 7.38 MB / 0.7067 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.419, allocations: 25.86 kB / 0.7067 GB, free: 5.16 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)