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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 213.3 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8427/0.8427, allocations: 134 MB / 446.4 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 73.97 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1821, allocations: 85.91 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5727/0.7548, allocations: 119 MB / 0.8186 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001655/0.7549, allocations: 44.06 kB / 0.8186 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.755, allocations: 0 / 0.8186 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.7551, allocations: 3.938 kB / 0.8186 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.7551, allocations: 17.94 kB / 0.8187 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.7562, allocations: 248.3 kB / 0.8189 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.7563, allocations: 38 kB / 0.8189 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.7564, allocations: 6.547 kB / 0.8189 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.169e-05/0.7564, allocations: 8.531 kB / 0.819 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.7565, allocations: 21.69 kB / 0.819 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.7565, allocations: 5.875 kB / 0.819 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.7569, allocations: 173.9 kB / 0.8191 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.757, allocations: 10.61 kB / 0.8192 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.757, allocations: 8.844 kB / 0.8192 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.7574, allocations: 169.2 kB / 0.8193 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7574, allocations: 0 / 0.8193 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7574, allocations: 2.188 kB / 0.8193 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.7574, allocations: 0 / 0.8193 GB, free: 6.109 MB / 0.5919 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.0004793/0.7579, allocations: 287.7 kB / 0.8196 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7579, allocations: 10.81 kB / 0.8196 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.758, allocations: 42.69 kB / 0.8197 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.758, allocations: 0.9375 kB / 0.8197 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.7581, allocations: 105 kB / 0.8198 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.7582, allocations: 58.67 kB / 0.8198 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.7582, allocations: 3.938 kB / 0.8198 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.7584, allocations: 73.83 kB / 0.8199 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7584, allocations: 0 / 0.8199 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.7584, allocations: 0 / 0.8199 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.7584, allocations: 2.719 kB / 0.8199 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.7585, allocations: 12.48 kB / 0.8199 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.7591, allocations: 288.5 kB / 0.8202 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.7592, allocations: 17.83 kB / 0.8202 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.7592, allocations: 8.797 kB / 0.8202 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.049e-05/0.7593, allocations: 32.16 kB / 0.8202 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.7593, allocations: 32.75 kB / 0.8203 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.7593, allocations: 0 / 0.8203 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.7594, allocations: 37.94 kB / 0.8203 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.7595, allocations: 56.38 kB / 0.8203 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.7596, allocations: 103 kB / 0.8204 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.7596, allocations: 25.7 kB / 0.8205 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.7596, allocations: 91.05 kB / 0.8206 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.7596, allocations: 4 kB / 0.8206 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.7597, allocations: 18.67 kB / 0.8206 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7598, allocations: 318.7 kB / 0.8209 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.7598, allocations: 6.969 kB / 0.8209 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.7599, allocations: 18.89 kB / 0.8209 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.7599, allocations: 23.94 kB / 0.8209 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7599, allocations: 0 / 0.8209 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.411e-05/0.76, allocations: 46.84 kB / 0.821 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.76, allocations: 5.875 kB / 0.821 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.76, allocations: 0 / 0.821 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.76, allocations: 2.688 kB / 0.821 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.929e-05/0.76, allocations: 4.875 kB / 0.821 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.76, allocations: 3.938 kB / 0.821 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.7601, allocations: 4 kB / 0.821 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.7601, allocations: 10.89 kB / 0.821 GB, free: 4.352 MB / 0.5919 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.297e-05/0.7601, allocations: 114.5 kB / 0.8211 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.7602, allocations: 0 / 0.8211 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.7603, allocations: 124.5 kB / 0.8212 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.957e-05/0.7604, allocations: 180.3 kB / 0.8214 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-05/0.7605, allocations: 191.1 kB / 0.8216 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.192e-05/0.7606, allocations: 176.3 kB / 0.8218 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.7608, allocations: 389.6 kB / 0.8221 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.7609, allocations: 101 kB / 0.8222 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.7609, allocations: 103.6 kB / 0.8223 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.16e-05/0.761, allocations: 188.2 kB / 0.8225 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.7611, allocations: 178.6 kB / 0.8227 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.282e-05/0.7612, allocations: 184.2 kB / 0.8229 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-05/0.7612, allocations: 183.2 kB / 0.823 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.7614, allocations: 309 kB / 0.8233 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.7615, allocations: 107.7 kB / 0.8234 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.7616, allocations: 184.2 kB / 0.8236 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.7617, allocations: 106.4 kB / 0.8237 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.7618, allocations: 176.3 kB / 0.8239 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.7619, allocations: 108.9 kB / 0.824 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.7619, allocations: 91 kB / 0.8241 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7619, allocations: 4 kB / 0.8241 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003073/0.7622, allocations: 53.33 kB / 0.8241 GB, free: 1.062 MB / 0.5919 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.0006194/0.7629, allocations: 0.8807 MB / 0.825 GB, free: 220 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.391e-05/0.7629, allocations: 15.72 kB / 0.825 GB, free: 212 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7629, allocations: 3.938 kB / 0.825 GB, free: 208 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.7629, allocations: 0 / 0.825 GB, free: 208 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.7634, allocations: 468.8 kB / 0.8254 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.7645, allocations: 1.348 MB / 0.8268 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.281e-05/0.7646, allocations: 60.94 kB / 0.8268 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.7646, allocations: 6.969 kB / 0.8268 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.7646, allocations: 9.625 kB / 0.8268 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.7646, allocations: 0 / 0.8268 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.7935, allocations: 2.758 MB / 0.8295 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.48, allocations: 5.562 kB / 0.8295 GB, free: 12.62 MB / 0.6075 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.151524956803769] Failed to read output from testmodel.py, exit status != 0: 11.588970126118511 11.617275279 10.854633183 Calling exit ...