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.000947/0.0009469, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005546/0.005546, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 270.3 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8806/0.8806, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003873, allocations: 13.47 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003964/0.1454, allocations: 3.399 MB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001703/0.1456, allocations: 157 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.1456, allocations: 1.125 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.169e-05/0.1457, allocations: 11.92 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.1458, allocations: 7.984 kB / 0.6887 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.146, allocations: 79.66 kB / 0.6888 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.811e-05/0.1461, allocations: 59.81 kB / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.1462, allocations: 0 / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.1462, allocations: 15.98 kB / 0.6889 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.1463, allocations: 19.86 kB / 0.6889 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1463, allocations: 4 kB / 0.6889 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004475/0.1468, allocations: 189.1 kB / 0.6891 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.1468, allocations: 11.97 kB / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1468, allocations: 39.2 kB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1469, allocations: 47.89 kB / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.147, allocations: 0 / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.147, allocations: 0 / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.147, allocations: 0.5 kB / 0.6892 GB, free: 10.93 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.00028/0.1473, allocations: 332.1 kB / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1473, allocations: 12.03 kB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1473, allocations: 34.75 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.1474, allocations: 0.9375 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.1475, allocations: 176.3 kB / 0.6897 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.1475, allocations: 26.27 kB / 0.6897 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1475, allocations: 4.125 kB / 0.6897 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1477, allocations: 45.62 kB / 0.6898 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1477, allocations: 0 / 0.6898 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1477, allocations: 0 / 0.6898 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1477, allocations: 4 kB / 0.6898 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.1478, allocations: 19.98 kB / 0.6898 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1482, allocations: 334 kB / 0.6901 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.937e-05/0.1482, allocations: 18.58 kB / 0.6901 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.1482, allocations: 4.859 kB / 0.6901 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/0.1483, allocations: 85.16 kB / 0.6902 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1483, allocations: 38.56 kB / 0.6902 GB, free: 9.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1484, allocations: 0 / 0.6902 GB, free: 9.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.1485, allocations: 41.55 kB / 0.6903 GB, free: 9.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1485, allocations: 51.41 kB / 0.6903 GB, free: 9.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.1486, allocations: 105.8 kB / 0.6904 GB, free: 9.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1486, allocations: 25.7 kB / 0.6905 GB, free: 9.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.1487, allocations: 80.14 kB / 0.6905 GB, free: 9.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1487, allocations: 8.031 kB / 0.6905 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.1487, allocations: 13.72 kB / 0.6905 GB, free: 9.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.1488, allocations: 318.8 kB / 0.6909 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.1488, allocations: 7.984 kB / 0.6909 GB, free: 8.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.1489, allocations: 13.72 kB / 0.6909 GB, free: 8.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.1489, allocations: 21.66 kB / 0.6909 GB, free: 8.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1489, allocations: 4 kB / 0.6909 GB, free: 8.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.691e-05/0.149, allocations: 49.69 kB / 0.6909 GB, free: 8.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.149, allocations: 4 kB / 0.6909 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.149, allocations: 0 / 0.6909 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.567e-06/0.149, allocations: 3.938 kB / 0.691 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.1491, allocations: 11.98 kB / 0.691 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1491, allocations: 3.938 kB / 0.691 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.1491, allocations: 0 / 0.691 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1491, allocations: 0 / 0.691 GB, free: 8.785 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 6.277e-05/0.1492, allocations: 123.1 kB / 0.6911 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1492, allocations: 3.906 kB / 0.6911 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.415e-05/0.1493, allocations: 124 kB / 0.6912 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-05/0.1494, allocations: 180.2 kB / 0.6914 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.191e-05/0.1494, allocations: 180.3 kB / 0.6916 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.192e-05/0.1495, allocations: 184.2 kB / 0.6917 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1497, allocations: 417.1 kB / 0.6921 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/0.1497, allocations: 101 kB / 0.6922 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1497, allocations: 108.9 kB / 0.6923 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.556e-05/0.1498, allocations: 176.3 kB / 0.6925 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.1499, allocations: 188.2 kB / 0.6927 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.306e-05/0.1499, allocations: 184.3 kB / 0.6928 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-05/0.15, allocations: 176.3 kB / 0.693 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1501, allocations: 311.7 kB / 0.6933 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.1502, allocations: 186 kB / 0.6935 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.1502, allocations: 180.3 kB / 0.6937 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1504, allocations: 113 kB / 0.6938 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.1504, allocations: 180.2 kB / 0.6939 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.1505, allocations: 105 kB / 0.694 GB, free: 5.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.439e-05/0.1505, allocations: 87.27 kB / 0.6941 GB, free: 5.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 0 / 0.6941 GB, free: 5.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1508, allocations: 15.94 kB / 0.6941 GB, free: 5.316 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.0004302/0.1512, allocations: 0.8321 MB / 0.695 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.702e-05/0.1513, allocations: 16.31 kB / 0.695 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1513, allocations: 4.125 kB / 0.695 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1513, allocations: 0 / 0.695 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1517, allocations: 0.5231 MB / 0.6955 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.1525, allocations: 1.334 MB / 0.6968 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1527, allocations: 0.677 MB / 0.6974 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.654e-05/0.1528, allocations: 4 kB / 0.6975 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.1528, allocations: 11.44 kB / 0.6975 GB, free: 1.766 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1528, allocations: 3.938 kB / 0.6975 GB, free: 1.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.1628, allocations: 1.343 MB / 0.6988 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.163, allocations: 241.9 kB / 0.699 GB, free: 368 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.692, allocations: 0 / 0.699 GB, free: 368 kB / 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)