Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005608/0.005607, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7279/0.7279, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 101.5 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4237, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7461/1.17, allocations: 351.2 MB / 0.9925 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.17, allocations: 74.34 kB / 0.9925 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02947/1.2, allocations: 13.32 MB / 1.006 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/1.2, allocations: 0 / 1.006 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.2, allocations: 0 / 1.006 GB, free: 11.66 MB / 0.6511 GB 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.0003329/1.2, allocations: 342.9 kB / 1.006 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.2, allocations: 12.03 kB / 1.006 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/1.2, allocations: 38.05 kB / 1.006 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/1.2, allocations: 3.906 kB / 1.006 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/1.2, allocations: 171 kB / 1.006 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/1.2, allocations: 25.7 kB / 1.006 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/1.2, allocations: 0 / 1.006 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/1.201, allocations: 45.3 kB / 1.006 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.201, allocations: 3.938 kB / 1.006 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/1.201, allocations: 4 kB / 1.006 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/1.201, allocations: 0 / 1.006 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/1.201, allocations: 11.98 kB / 1.006 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/1.201, allocations: 336.4 kB / 1.006 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.365e-05/1.201, allocations: 22.52 kB / 1.007 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.024e-05/1.201, allocations: 89.14 kB / 1.007 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/1.201, allocations: 34.5 kB / 1.007 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.201, allocations: 0 / 1.007 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/1.201, allocations: 36.83 kB / 1.007 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/1.201, allocations: 59.48 kB / 1.007 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/1.202, allocations: 92.98 kB / 1.007 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/1.202, allocations: 29.2 kB / 1.007 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/1.202, allocations: 92.03 kB / 1.007 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/1.202, allocations: 3.906 kB / 1.007 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/1.202, allocations: 0 / 1.007 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/1.202, allocations: 318.3 kB / 1.007 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/1.202, allocations: 4 kB / 1.007 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/1.202, allocations: 17.72 kB / 1.007 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/1.202, allocations: 11.25 kB / 1.007 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.202, allocations: 0 / 1.007 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.885e-05/1.202, allocations: 45.44 kB / 1.007 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.202, allocations: 7.938 kB / 1.007 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.202, allocations: 11.98 kB / 1.007 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/1.202, allocations: 0 / 1.007 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/1.202, allocations: 11.92 kB / 1.007 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/1.202, allocations: 4.062 kB / 1.007 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/1.202, allocations: 7.953 kB / 1.007 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/1.202, allocations: 0 / 1.007 GB, free: 9.574 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/1.202, allocations: 106.7 kB / 1.007 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/1.202, allocations: 4 kB / 1.007 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/1.202, allocations: 120.5 kB / 1.008 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-05/1.202, allocations: 184.2 kB / 1.008 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.818e-05/1.202, allocations: 176.3 kB / 1.008 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.677e-05/1.202, allocations: 180.2 kB / 1.008 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/1.203, allocations: 408.6 kB / 1.008 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/1.203, allocations: 101 kB / 1.009 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/1.203, allocations: 112.9 kB / 1.009 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.956e-05/1.203, allocations: 184 kB / 1.009 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/1.203, allocations: 180.2 kB / 1.009 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.254e-05/1.203, allocations: 176.3 kB / 1.009 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.583e-05/1.203, allocations: 180.3 kB / 1.009 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/1.203, allocations: 327.4 kB / 1.01 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/1.203, allocations: 183.7 kB / 1.01 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/1.203, allocations: 176.3 kB / 1.01 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/1.203, allocations: 109 kB / 1.01 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/1.203, allocations: 187.8 kB / 1.01 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.204, allocations: 105 kB / 1.01 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.81e-05/1.204, allocations: 83.27 kB / 1.01 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.204, allocations: 0 / 1.01 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002506/1.204, allocations: 19.38 kB / 1.011 GB, free: 6.148 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004497/1.204, allocations: 0.8436 MB / 1.011 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.388e-05/1.204, allocations: 4 kB / 1.011 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.204, allocations: 0 / 1.011 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/1.204, allocations: 0 / 1.011 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/1.205, allocations: 0.5318 MB / 1.012 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/1.205, allocations: 232.8 kB / 1.012 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/1.205, allocations: 0.677 MB / 1.013 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.563e-05/1.205, allocations: 8.281 kB / 1.013 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/1.205, allocations: 7.438 kB / 1.013 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/1.205, allocations: 0 / 1.013 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/1.218, allocations: 1.581 MB / 1.014 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.218, allocations: 170.4 kB / 1.014 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.794, allocations: 0 / 1.014 GB, free: 2.059 MB / 0.6511 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)