Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.0009962/0.0009959, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001035/0.001035, allocations: 192.1 kB / 16.14 MB, free: 6.715 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.216/1.216, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 291.5 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8634/0.8634, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 90.41 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 86.98 MB / 0.6795 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004689/0.1315, allocations: 3.762 MB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.1318, allocations: 167.5 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.1318, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.401e-05/0.1319, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/0.132, allocations: 15.92 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1323, allocations: 74.02 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.1324, allocations: 55.88 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.1324, allocations: 11.98 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.1324, allocations: 15.88 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.1325, allocations: 15.97 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1325, allocations: 0 / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.133, allocations: 191.8 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.1331, allocations: 7.984 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1331, allocations: 15.92 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1332, allocations: 47.83 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1333, allocations: 4 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1333, allocations: 4 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1333, allocations: 0 / 0.6838 GB, free: 12.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003347/0.1336, allocations: 335.5 kB / 0.6841 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1336, allocations: 8.031 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.1337, allocations: 34.75 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1337, allocations: 4.938 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.1338, allocations: 164.4 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.1339, allocations: 26.27 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1339, allocations: 12.12 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.134, allocations: 41.62 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.134, allocations: 0 / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.134, allocations: 8 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.134, allocations: 4 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.1341, allocations: 11.98 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1344, allocations: 334 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.806e-05/0.1345, allocations: 22.52 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.1345, allocations: 4.859 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.618e-05/0.1345, allocations: 85.17 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1346, allocations: 42.48 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1346, allocations: 0 / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.1347, allocations: 37.61 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1347, allocations: 51.41 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.1348, allocations: 106 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1348, allocations: 25.7 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1349, allocations: 88.05 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.1349, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1349, allocations: 21.66 kB / 0.6852 GB, free: 10.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.135, allocations: 318.8 kB / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.135, allocations: 4 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.135, allocations: 21.72 kB / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.1351, allocations: 17.7 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1351, allocations: 3.938 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.532e-05/0.1351, allocations: 49.64 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.1351, allocations: 4 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1352, allocations: 0 / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.1352, allocations: 0 / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.913e-05/0.1352, allocations: 16.05 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1352, allocations: 0 / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.1352, allocations: 0 / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1353, allocations: 0 / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.139e-05/0.1353, allocations: 123 kB / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1354, allocations: 3.906 kB / 0.6857 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.1355, allocations: 120.9 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.21e-05/0.1355, allocations: 180.3 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.704e-05/0.1356, allocations: 188.2 kB / 0.6862 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/0.1356, allocations: 176.5 kB / 0.6864 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1358, allocations: 409.1 kB / 0.6868 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/0.1358, allocations: 105 kB / 0.6869 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.1358, allocations: 105 kB / 0.687 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.406e-05/0.1359, allocations: 188.2 kB / 0.6871 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.1359, allocations: 184.3 kB / 0.6873 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.135e-05/0.136, allocations: 180.2 kB / 0.6875 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-05/0.136, allocations: 176.3 kB / 0.6877 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.1361, allocations: 315.7 kB / 0.688 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1362, allocations: 178.1 kB / 0.6881 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.1363, allocations: 184.2 kB / 0.6883 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1364, allocations: 117 kB / 0.6884 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.1364, allocations: 176.3 kB / 0.6886 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.1365, allocations: 108.9 kB / 0.6887 GB, free: 7.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.1365, allocations: 83.27 kB / 0.6888 GB, free: 7.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1365, allocations: 3.938 kB / 0.6888 GB, free: 7.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1367, allocations: 19.94 kB / 0.6888 GB, free: 7.062 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 (0): * Single equations (assignments): 0 * 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.0003976/0.1372, allocations: 0.8325 MB / 0.6896 GB, free: 6.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.619e-05/0.1372, allocations: 15.94 kB / 0.6896 GB, free: 6.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1372, allocations: 0 / 0.6896 GB, free: 6.188 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.1372, allocations: 7.922 kB / 0.6896 GB, free: 6.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1376, allocations: 0.5265 MB / 0.6901 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.1384, allocations: 1.326 MB / 0.6914 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.1386, allocations: 0.677 MB / 0.6921 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.1386, allocations: 6.75 kB / 0.6921 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.1386, allocations: 11.44 kB / 0.6921 GB, free: 3.523 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1386, allocations: 4 kB / 0.6921 GB, free: 3.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9233/1.062, allocations: 1.38 MB / 0.6935 GB, free: 2.301 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.062, allocations: 247.6 kB / 0.6937 GB, free: 2.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.63, allocations: 2.656 kB / 0.6937 GB, free: 2.043 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)