Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",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.005075/0.005076, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001251/0.001251, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 291 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9271/0.9271, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 91.39 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1539, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006297/0.1603, allocations: 4.431 MB / 0.7703 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.1631, allocations: 2.687 MB / 0.7729 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1632, allocations: 0 / 0.7729 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1634, allocations: 51.66 kB / 0.7729 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1638, allocations: 99.36 kB / 0.773 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1648, allocations: 0.4931 MB / 0.7735 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1651, allocations: 235.9 kB / 0.7737 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1652, allocations: 9.562 kB / 0.7737 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008655/0.166, allocations: 417.9 kB / 0.7741 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1662, allocations: 91.61 kB / 0.7742 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1662, allocations: 11.94 kB / 0.7742 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3335/0.4997, allocations: 487 kB / 0.7747 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4998, allocations: 30.72 kB / 0.7747 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.5, allocations: 80.98 kB / 0.7748 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.5009, allocations: 352.8 kB / 0.7751 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5009, allocations: 0.7031 kB / 0.7751 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5009, allocations: 3.219 kB / 0.7752 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.5009, allocations: 0 / 0.7752 GB, free: 8.906 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007127/0.5016, allocations: 0.4917 MB / 0.7756 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5017, allocations: 9.281 kB / 0.7756 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.5018, allocations: 51.19 kB / 0.7757 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.5019, allocations: 23.95 kB / 0.7757 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.5022, allocations: 217.8 kB / 0.7759 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.5022, allocations: 15.7 kB / 0.7759 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.5023, allocations: 14.53 kB / 0.7759 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.5026, allocations: 252 kB / 0.7762 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5027, allocations: 1.969 kB / 0.7762 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.5027, allocations: 9.219 kB / 0.7762 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.5027, allocations: 7.062 kB / 0.7762 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.5032, allocations: 430.2 kB / 0.7766 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.504, allocations: 1.002 MB / 0.7776 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.5043, allocations: 161.5 kB / 0.7777 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.5044, allocations: 61.89 kB / 0.7778 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.5055, allocations: 1.833 MB / 0.7796 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5055, allocations: 40.38 kB / 0.7796 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.5055, allocations: 0 / 0.7796 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003167/0.5059, allocations: 138.2 kB / 0.7798 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.5059, allocations: 61.7 kB / 0.7798 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.5061, allocations: 170 kB / 0.78 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5061, allocations: 28.73 kB / 0.78 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.5062, allocations: 148.1 kB / 0.7802 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.5062, allocations: 49.91 kB / 0.7802 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.5063, allocations: 56.94 kB / 0.7803 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5064, allocations: 327.5 kB / 0.7806 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.5065, allocations: 37.5 kB / 0.7806 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.5066, allocations: 140.1 kB / 0.7807 GB, free: 20.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.5068, allocations: 200.4 kB / 0.7809 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.5068, allocations: 1.625 kB / 0.7809 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00031/0.5071, allocations: 218.6 kB / 0.7811 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5071, allocations: 6.938 kB / 0.7811 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5071, allocations: 4.094 kB / 0.7812 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5072, allocations: 4.719 kB / 0.7812 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.5073, allocations: 58 kB / 0.7812 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.5074, allocations: 9.859 kB / 0.7812 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.5075, allocations: 28.41 kB / 0.7812 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.5075, allocations: 18 kB / 0.7813 GB, free: 20.26 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.587e-05/0.5076, allocations: 130.2 kB / 0.7814 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.5076, allocations: 13.38 kB / 0.7814 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.5079, allocations: 158.3 kB / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5079, allocations: 5.719 kB / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5079, allocations: 0.5156 kB / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5079, allocations: 1.438 kB / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.5082, allocations: 216 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5082, allocations: 0.8438 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.5083, allocations: 29.05 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5083, allocations: 1.625 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5083, allocations: 8.953 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5083, allocations: 3.938 kB / 0.7818 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5083, allocations: 1.5 kB / 0.7818 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.5086, allocations: 219.8 kB / 0.782 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.5086, allocations: 109 kB / 0.7821 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.5087, allocations: 7.516 kB / 0.7821 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5089, allocations: 19.16 kB / 0.7821 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.5089, allocations: 11.59 kB / 0.7822 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.5089, allocations: 8.672 kB / 0.7822 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.172e-05/0.509, allocations: 122.5 kB / 0.7823 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.509, allocations: 1.375 kB / 0.7823 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003894/0.5094, allocations: 74.66 kB / 0.7824 GB, free: 19.57 MB / 0.5762 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000664/0.5101, allocations: 0.8378 MB / 0.7832 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.5103, allocations: 120 kB / 0.7833 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5103, allocations: 0 / 0.7833 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.398e-05/0.5104, allocations: 46.67 kB / 0.7833 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.5108, allocations: 60.23 kB / 0.7834 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5128, allocations: 2.044 MB / 0.7854 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.513, allocations: 0.7139 MB / 0.7861 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.5132, allocations: 44.03 kB / 0.7861 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.5133, allocations: 47.39 kB / 0.7862 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.5133, allocations: 4 kB / 0.7862 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.5347, allocations: 5.236 MB / 0.7913 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.798, allocations: 15.67 kB / 0.7913 GB, free: 16 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)