Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.001092/0.001092, 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.001178/0.001178, allocations: 192.7 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7558/0.7558, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.45 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.387, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1273/0.5143, allocations: 135.4 MB / 0.7124 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.5145, allocations: 63.66 kB / 0.7125 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.5146, allocations: 0 / 0.7125 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.503e-05/0.5147, allocations: 0 / 0.7125 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.5148, allocations: 11.92 kB / 0.7125 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.5157, allocations: 242.9 kB / 0.7127 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.5158, allocations: 27.91 kB / 0.7128 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.5158, allocations: 11.92 kB / 0.7128 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.5159, allocations: 16 kB / 0.7128 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.516, allocations: 19.91 kB / 0.7128 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.516, allocations: 0 / 0.7128 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.5165, allocations: 239.5 kB / 0.713 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.5165, allocations: 4 kB / 0.713 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.5166, allocations: 15.92 kB / 0.7131 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.5169, allocations: 189.8 kB / 0.7132 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5169, allocations: 0 / 0.7132 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5169, allocations: 0 / 0.7132 GB, free: 8.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5169, allocations: 0 / 0.7132 GB, free: 8.859 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.0003543/0.5173, allocations: 371.4 kB / 0.7136 GB, free: 8.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5173, allocations: 8.031 kB / 0.7136 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.5174, allocations: 30.75 kB / 0.7136 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.5174, allocations: 4.938 kB / 0.7136 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/0.5175, allocations: 168.3 kB / 0.7138 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.5176, allocations: 30.02 kB / 0.7138 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.5176, allocations: 7.984 kB / 0.7138 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.5177, allocations: 45.69 kB / 0.7139 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5177, allocations: 0 / 0.7139 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.5177, allocations: 0 / 0.7139 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.5178, allocations: 4 kB / 0.7139 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.5178, allocations: 11.98 kB / 0.7139 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.5185, allocations: 0.5989 MB / 0.7145 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/0.5185, allocations: 30.5 kB / 0.7145 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.5185, allocations: 4.859 kB / 0.7145 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.5187, allocations: 336.4 kB / 0.7148 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.5187, allocations: 34.56 kB / 0.7149 GB, free: 6.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5187, allocations: 0 / 0.7149 GB, free: 6.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.00012/0.5189, allocations: 37.61 kB / 0.7149 GB, free: 6.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.5189, allocations: 55.34 kB / 0.7149 GB, free: 6.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.519, allocations: 110 kB / 0.7151 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.519, allocations: 25.7 kB / 0.7151 GB, free: 6.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.519, allocations: 84.05 kB / 0.7152 GB, free: 6.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.519, allocations: 11.92 kB / 0.7152 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.5191, allocations: 13.72 kB / 0.7152 GB, free: 6.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.5192, allocations: 322.8 kB / 0.7155 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.5192, allocations: 0 / 0.7155 GB, free: 6.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.5192, allocations: 13.72 kB / 0.7155 GB, free: 6.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.5192, allocations: 29.7 kB / 0.7155 GB, free: 6.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5192, allocations: 0 / 0.7155 GB, free: 6.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.87e-05/0.5193, allocations: 49.64 kB / 0.7156 GB, free: 6.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5193, allocations: 8 kB / 0.7156 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5193, allocations: 3.984 kB / 0.7156 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.5194, allocations: 0 / 0.7156 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.5194, allocations: 4 kB / 0.7156 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5194, allocations: 4.062 kB / 0.7156 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.5194, allocations: 7.938 kB / 0.7156 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5195, allocations: 3.984 kB / 0.7156 GB, free: 6.031 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 5.623e-05/0.5195, allocations: 113.8 kB / 0.7157 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.5195, allocations: 7.906 kB / 0.7157 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.64e-05/0.5196, allocations: 117 kB / 0.7158 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/0.5197, allocations: 184.2 kB / 0.716 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.757e-05/0.5197, allocations: 176.3 kB / 0.7162 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/0.5198, allocations: 184.2 kB / 0.7164 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.52, allocations: 405.2 kB / 0.7167 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.52, allocations: 109 kB / 0.7168 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.52, allocations: 104.9 kB / 0.7169 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.25e-05/0.5201, allocations: 184.3 kB / 0.7171 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.5201, allocations: 176.3 kB / 0.7173 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.605e-05/0.5202, allocations: 188.1 kB / 0.7175 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.657e-05/0.5202, allocations: 180.3 kB / 0.7176 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.5203, allocations: 319.9 kB / 0.7179 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.5204, allocations: 178.1 kB / 0.7181 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.5205, allocations: 188.2 kB / 0.7183 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5206, allocations: 105.2 kB / 0.7184 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.5207, allocations: 184.2 kB / 0.7186 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.5207, allocations: 113 kB / 0.7187 GB, free: 2.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.5207, allocations: 87.27 kB / 0.7188 GB, free: 2.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5207, allocations: 0 / 0.7188 GB, free: 2.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002758/0.521, allocations: 63.92 kB / 0.7188 GB, free: 2.52 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.0004391/0.5215, allocations: 0.8791 MB / 0.7197 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.617e-05/0.5215, allocations: 4 kB / 0.7197 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5215, allocations: 0 / 0.7197 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.5216, allocations: 0 / 0.7197 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.5219, allocations: 467.8 kB / 0.7201 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.5227, allocations: 1.344 MB / 0.7214 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.5229, allocations: 0.6768 MB / 0.7221 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.5229, allocations: 8 kB / 0.7221 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.523, allocations: 7.438 kB / 0.7221 GB, free: 15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.523, allocations: 0 / 0.7221 GB, free: 15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.028/1.551, allocations: 2.163 MB / 0.7242 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.861/11.41, allocations: 4.031 kB / 0.7242 GB, free: 12.93 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)