Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.001077/0.001077, allocations: 103.4 kB / 15.33 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.001107/0.001108, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9765/0.9765, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 65.05 kB / 0.5049 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1656, allocations: 80.93 MB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4539/0.6195, allocations: 133.5 MB / 0.7143 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.6197, allocations: 58.48 kB / 0.7144 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.6198, allocations: 0 / 0.7144 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.922e-05/0.6199, allocations: 1.891 kB / 0.7144 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.62, allocations: 9.766 kB / 0.7144 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.6209, allocations: 238.1 kB / 0.7146 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.949e-05/0.6209, allocations: 28.8 kB / 0.7147 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.621, allocations: 3.906 kB / 0.7147 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.621, allocations: 19.45 kB / 0.7147 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.6211, allocations: 17.59 kB / 0.7147 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.6211, allocations: 1.375 kB / 0.7147 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005567/0.6217, allocations: 257 kB / 0.7149 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.6218, allocations: 4.266 kB / 0.7149 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.6218, allocations: 10.73 kB / 0.715 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.6223, allocations: 198.6 kB / 0.7151 GB, free: 11.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6223, allocations: 0.6562 kB / 0.7151 GB, free: 11.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6223, allocations: 0 / 0.7151 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.6223, allocations: 0 / 0.7151 GB, free: 11.75 MB / 0.545 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.0004565/0.6228, allocations: 357.2 kB / 0.7155 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.6228, allocations: 9.797 kB / 0.7155 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.6229, allocations: 40.39 kB / 0.7155 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.623, allocations: 7.719 kB / 0.7155 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.6231, allocations: 163.8 kB / 0.7157 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.6231, allocations: 28.03 kB / 0.7157 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.6232, allocations: 6.219 kB / 0.7157 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.6233, allocations: 47.84 kB / 0.7158 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.6234, allocations: 0 / 0.7158 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.6234, allocations: 0 / 0.7158 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.6234, allocations: 5.797 kB / 0.7158 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.6235, allocations: 12.55 kB / 0.7158 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.6243, allocations: 0.5971 MB / 0.7164 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.6244, allocations: 21.48 kB / 0.7164 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.6244, allocations: 5.984 kB / 0.7164 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.6246, allocations: 342.7 kB / 0.7167 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6247, allocations: 36.38 kB / 0.7168 GB, free: 9.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.6247, allocations: 0 / 0.7168 GB, free: 9.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000153/0.6248, allocations: 44.72 kB / 0.7168 GB, free: 9.895 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.6249, allocations: 53.31 kB / 0.7169 GB, free: 9.832 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.625, allocations: 97.84 kB / 0.717 GB, free: 9.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.625, allocations: 30.45 kB / 0.717 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.6251, allocations: 82 kB / 0.7171 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.6251, allocations: 12.91 kB / 0.7171 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.6251, allocations: 14.36 kB / 0.7171 GB, free: 9.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6252, allocations: 321.1 kB / 0.7174 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.6253, allocations: 3.766 kB / 0.7174 GB, free: 9.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.6253, allocations: 16.17 kB / 0.7174 GB, free: 9.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.6253, allocations: 29.02 kB / 0.7174 GB, free: 9.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6253, allocations: 0 / 0.7174 GB, free: 9.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.603e-05/0.6254, allocations: 45.8 kB / 0.7175 GB, free: 9.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6255, allocations: 5.031 kB / 0.7175 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6255, allocations: 1.906 kB / 0.7175 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.597e-05/0.6255, allocations: 3.984 kB / 0.7175 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.6256, allocations: 9.609 kB / 0.7175 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6256, allocations: 2.453 kB / 0.7175 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.6256, allocations: 1.25 kB / 0.7175 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.6257, allocations: 6.125 kB / 0.7175 GB, free: 9.18 MB / 0.545 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 7.547e-05/0.6257, allocations: 113.2 kB / 0.7176 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.6258, allocations: 5.516 kB / 0.7176 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.6259, allocations: 118.4 kB / 0.7177 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/0.6259, allocations: 181.5 kB / 0.7179 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/0.626, allocations: 178.5 kB / 0.7181 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/0.6261, allocations: 189.3 kB / 0.7183 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.6263, allocations: 408.1 kB / 0.7186 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/0.6264, allocations: 102.3 kB / 0.7187 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.6264, allocations: 107.2 kB / 0.7188 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.008e-05/0.6265, allocations: 178.2 kB / 0.719 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.6266, allocations: 190.6 kB / 0.7192 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.228e-05/0.6266, allocations: 177.2 kB / 0.7194 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.141e-05/0.6267, allocations: 185.9 kB / 0.7195 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.6269, allocations: 309.1 kB / 0.7198 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.627, allocations: 188.7 kB / 0.72 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.6272, allocations: 182.3 kB / 0.7202 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.6274, allocations: 106.8 kB / 0.7203 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6275, allocations: 182 kB / 0.7205 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.6276, allocations: 102.8 kB / 0.7206 GB, free: 5.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.342e-05/0.6276, allocations: 89.91 kB / 0.7207 GB, free: 5.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6276, allocations: 0 / 0.7207 GB, free: 5.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004746/0.6281, allocations: 60.72 kB / 0.7207 GB, free: 5.785 MB / 0.545 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.000924/0.6291, allocations: 0.8805 MB / 0.7216 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.007e-05/0.6292, allocations: 7.953 kB / 0.7216 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6292, allocations: 0 / 0.7216 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.6292, allocations: 1.344 kB / 0.7216 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.6297, allocations: 469.2 kB / 0.722 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.6311, allocations: 1.334 MB / 0.7233 GB, free: 3.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6314, allocations: 0.6781 MB / 0.724 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.53e-05/0.6315, allocations: 5.922 kB / 0.724 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.6315, allocations: 13.39 kB / 0.724 GB, free: 2.449 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6315, allocations: 0 / 0.724 GB, free: 2.449 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1728/0.8044, allocations: 2.103 MB / 0.7261 GB, free: 2.121 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.8046, allocations: 205 kB / 0.7263 GB, free: 1.863 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.732, allocations: 0 / 0.7263 GB, free: 1.863 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)