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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7214/0.7214, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 62.83 kB / 0.5019 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4514, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004899/0.4563, allocations: 4.007 MB / 0.5841 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.4565, allocations: 157.3 kB / 0.5842 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.4565, allocations: 4.938 kB / 0.5842 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.762e-05/0.4566, allocations: 4.75 kB / 0.5842 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.4567, allocations: 13.53 kB / 0.5843 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.4571, allocations: 75.84 kB / 0.5843 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.4571, allocations: 36.55 kB / 0.5844 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.4572, allocations: 6.859 kB / 0.5844 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.4572, allocations: 11.45 kB / 0.5844 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.4573, allocations: 24.09 kB / 0.5844 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.4573, allocations: 2.062 kB / 0.5844 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.4575, allocations: 52.44 kB / 0.5845 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.4576, allocations: 8.891 kB / 0.5845 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.4576, allocations: 14.2 kB / 0.5845 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.4577, allocations: 43.27 kB / 0.5845 GB, free: 1.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4578, allocations: 1.219 kB / 0.5845 GB, free: 1.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.4578, allocations: 0 / 0.5845 GB, free: 1.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.4578, allocations: 4 kB / 0.5845 GB, free: 1.438 MB / 430.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.0003249/0.4581, allocations: 338.7 kB / 0.5849 GB, free: 1.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4581, allocations: 9.906 kB / 0.5849 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.4582, allocations: 32.81 kB / 0.5849 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.4582, allocations: 2.875 kB / 0.5849 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.714e-05/0.4583, allocations: 165.6 kB / 0.5851 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.4584, allocations: 28.78 kB / 0.5851 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.4584, allocations: 6.734 kB / 0.5851 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4585, allocations: 56.34 kB / 0.5851 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4585, allocations: 0 / 0.5851 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4585, allocations: 0.5156 kB / 0.5851 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.4586, allocations: 6.375 kB / 0.5851 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.4586, allocations: 15.69 kB / 0.5852 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.459, allocations: 340.4 kB / 0.5855 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.102e-05/0.459, allocations: 20.42 kB / 0.5855 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.459, allocations: 7.391 kB / 0.5855 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.4591, allocations: 87.2 kB / 0.5856 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.4591, allocations: 32.64 kB / 0.5856 GB, free: 208 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4591, allocations: 0 / 0.5856 GB, free: 208 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.4592, allocations: 37.66 kB / 0.5857 GB, free: 172 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.4593, allocations: 52.06 kB / 0.5857 GB, free: 108 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.4593, allocations: 103.4 kB / 0.5858 GB, free: 4 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.4594, allocations: 25.7 kB / 0.5858 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.4594, allocations: 91.12 kB / 0.5859 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-06/0.4594, allocations: 0 / 0.5859 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.4595, allocations: 15.92 kB / 0.5859 GB, free: 15.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4596, allocations: 321.3 kB / 0.5862 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.4596, allocations: 6.844 kB / 0.5863 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.4597, allocations: 14.22 kB / 0.5863 GB, free: 15.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.4597, allocations: 25.53 kB / 0.5863 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4597, allocations: 0 / 0.5863 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.964e-05/0.4598, allocations: 49.94 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4598, allocations: 6.016 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4598, allocations: 1.094 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4598, allocations: 0 / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/0.4599, allocations: 6.109 kB / 0.5864 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4599, allocations: 6.062 kB / 0.5864 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.4599, allocations: 8.453 kB / 0.5864 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.4599, allocations: 5.906 kB / 0.5864 GB, free: 15.45 MB / 446.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.612e-05/0.46, allocations: 112.8 kB / 0.5865 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.46, allocations: 1.469 kB / 0.5865 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.4602, allocations: 126.7 kB / 0.5866 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.61e-05/0.4603, allocations: 187 kB / 0.5868 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.613e-05/0.4603, allocations: 180.9 kB / 0.587 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.366e-05/0.4604, allocations: 177.7 kB / 0.5871 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.4606, allocations: 408.9 kB / 0.5875 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/0.4607, allocations: 105.4 kB / 0.5876 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.4607, allocations: 103.1 kB / 0.5877 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.694e-05/0.4608, allocations: 186 kB / 0.5879 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/0.4608, allocations: 186.3 kB / 0.5881 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-05/0.4609, allocations: 178.1 kB / 0.5882 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.135e-05/0.461, allocations: 182.2 kB / 0.5884 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.4611, allocations: 313.5 kB / 0.5887 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.4612, allocations: 180.4 kB / 0.5889 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.4613, allocations: 182.6 kB / 0.5891 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.4615, allocations: 106.7 kB / 0.5892 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.4615, allocations: 177.7 kB / 0.5893 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.4616, allocations: 111 kB / 0.5894 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.342e-05/0.4616, allocations: 89.73 kB / 0.5895 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4616, allocations: 0 / 0.5895 GB, free: 12.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.4619, allocations: 21 kB / 0.5895 GB, free: 12.06 MB / 446.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.0005065/0.4624, allocations: 0.8249 MB / 0.5903 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.892e-05/0.4625, allocations: 12.48 kB / 0.5904 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4625, allocations: 0 / 0.5904 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.4625, allocations: 0 / 0.5904 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4629, allocations: 460.9 kB / 0.5908 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/0.4639, allocations: 1.317 MB / 0.5921 GB, free: 9.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4641, allocations: 0.6744 MB / 0.5927 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.033e-05/0.4642, allocations: 16.73 kB / 0.5928 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.4642, allocations: 13.52 kB / 0.5928 GB, free: 8.746 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4642, allocations: 0 / 0.5928 GB, free: 8.746 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.4812, allocations: 1.465 MB / 0.5942 GB, free: 8.391 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.438, allocations: 9.453 kB / 0.5942 GB, free: 8.387 MB / 446.1 MB (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/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)