Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_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.001207/0.001207, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001621/0.001622, allocations: 188.8 kB / 16.25 MB, free: 6.586 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8634/0.8634, allocations: 135.1 MB / 425.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 60.91 kB / 0.5049 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 80.94 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00443/0.1238, allocations: 3.751 MB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.124, allocations: 147.5 kB / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.1241, allocations: 0 / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.509e-05/0.1241, allocations: 7.938 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.1242, allocations: 11.98 kB / 0.5878 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1245, allocations: 79.75 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.1246, allocations: 39.8 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.1246, allocations: 0 / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.1247, allocations: 15.97 kB / 0.5879 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.1247, allocations: 11.94 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.1247, allocations: 4 kB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.1252, allocations: 191.4 kB / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.1252, allocations: 7.922 kB / 0.5881 GB, free: 500 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.1253, allocations: 15.98 kB / 0.5882 GB, free: 484 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1254, allocations: 44.12 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1254, allocations: 0 / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1254, allocations: 0 / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1254, allocations: 0 / 0.5882 GB, free: 440 kB / 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.0003043/0.1257, allocations: 335.5 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1257, allocations: 16.03 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.1258, allocations: 38.73 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.1258, allocations: 0.9375 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.1259, allocations: 164.3 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.126, allocations: 38.23 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.126, allocations: 4.125 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.1261, allocations: 45.69 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1261, allocations: 0 / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1262, allocations: 4 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1262, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.1262, allocations: 15.92 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.1266, allocations: 337.9 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.073e-05/0.1266, allocations: 18.58 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.263e-05/0.1266, allocations: 4.859 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.29e-05/0.1267, allocations: 93.16 kB / 0.5893 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1267, allocations: 34.56 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1267, allocations: 0 / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001179/0.1269, allocations: 33.64 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.1269, allocations: 51.41 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.127, allocations: 105.8 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.127, allocations: 25.7 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.127, allocations: 84.05 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.127, allocations: 12.06 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1271, allocations: 17.7 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.1272, allocations: 318.8 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1272, allocations: 0 / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.1272, allocations: 17.72 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.1272, allocations: 29.64 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1272, allocations: 0 / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.632e-05/0.1273, allocations: 45.61 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1273, allocations: 11.98 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1273, allocations: 0 / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.1274, allocations: 7.875 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.579e-05/0.1274, allocations: 4 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1274, allocations: 0 / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.1274, allocations: 4 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1274, allocations: 3.984 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB 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 5.719e-05/0.1275, allocations: 121.8 kB / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1275, allocations: 0 / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.985e-05/0.1276, allocations: 117 kB / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.652e-05/0.1277, allocations: 184.2 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-05/0.1277, allocations: 176.3 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/0.1278, allocations: 184.2 kB / 0.5908 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.128, allocations: 413.2 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.128, allocations: 105 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.128, allocations: 108.9 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.3e-05/0.1281, allocations: 176.3 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.1281, allocations: 180.2 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.099e-05/0.1282, allocations: 180.3 kB / 0.5919 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.603e-05/0.1282, allocations: 192.2 kB / 0.5921 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.1283, allocations: 304 kB / 0.5924 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.1284, allocations: 185.9 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.1284, allocations: 184.2 kB / 0.5927 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1286, allocations: 112.9 kB / 0.5928 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.1286, allocations: 180.2 kB / 0.593 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1287, allocations: 105.3 kB / 0.5931 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.684e-05/0.1287, allocations: 87.27 kB / 0.5932 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.273e-06/0.1287, allocations: 0 / 0.5932 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00022/0.1289, allocations: 23.81 kB / 0.5932 GB, free: 10.79 MB / 0.4981 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 (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.0003783/0.1293, allocations: 0.8321 MB / 0.594 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.705e-05/0.1294, allocations: 12.02 kB / 0.594 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1294, allocations: 4.125 kB / 0.594 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.1294, allocations: 3.938 kB / 0.594 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1297, allocations: 457.8 kB / 0.5945 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.1305, allocations: 1.329 MB / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.1307, allocations: 0.6729 MB / 0.5964 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.1308, allocations: 4 kB / 0.5964 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.1308, allocations: 15.38 kB / 0.5964 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1308, allocations: 0 / 0.5964 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.412/1.543, allocations: 1.419 MB / 0.5978 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/1.544, allocations: 215.8 kB / 0.598 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/3.237, allocations: 4 kB / 0.598 GB, free: 5.836 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)