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.002029/0.002029, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002401/0.002401, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.8957/0.8957, allocations: 134 MB / 447.2 MB, free: 10.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",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.002027/0.002027, allocations: 65.41 kB / 0.6193 GB, free: 7.418 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1981, allocations: 85.91 MB / 0.7032 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5789/0.777, allocations: 138.7 MB / 0.8386 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.7772, allocations: 55.86 kB / 0.8387 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.7772, allocations: 0 / 0.8387 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.7773, allocations: 3.938 kB / 0.8387 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.7774, allocations: 18.31 kB / 0.8387 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.7783, allocations: 252 kB / 0.839 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.7784, allocations: 40.03 kB / 0.839 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.7785, allocations: 3.984 kB / 0.839 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.7785, allocations: 18.23 kB / 0.839 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.7786, allocations: 16.8 kB / 0.839 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.7786, allocations: 2.25 kB / 0.839 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005809/0.7792, allocations: 261.6 kB / 0.8393 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.7793, allocations: 10.34 kB / 0.8393 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.7793, allocations: 8.5 kB / 0.8393 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.7797, allocations: 190.2 kB / 0.8395 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7797, allocations: 0 / 0.8395 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7797, allocations: 0 / 0.8395 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7797, allocations: 0 / 0.8395 GB, free: 9.039 MB / 0.6075 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.0005017/0.7802, allocations: 294.8 kB / 0.8398 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7803, allocations: 10.06 kB / 0.8398 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.04e-05/0.7803, allocations: 4.172 kB / 0.8398 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.7803, allocations: 33.38 kB / 0.8398 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.7804, allocations: 0.9375 kB / 0.8398 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.965e-05/0.7805, allocations: 104.5 kB / 0.8399 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/0.7806, allocations: 58.47 kB / 0.84 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.7806, allocations: 0 / 0.84 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.7807, allocations: 55.8 kB / 0.84 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7807, allocations: 3 kB / 0.84 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.7807, allocations: 2.812 kB / 0.84 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.7807, allocations: 0 / 0.84 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.7808, allocations: 18.2 kB / 0.84 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.7814, allocations: 278.4 kB / 0.8403 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.7815, allocations: 25.3 kB / 0.8403 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.7815, allocations: 4.859 kB / 0.8403 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.7816, allocations: 31.62 kB / 0.8404 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7816, allocations: 32.72 kB / 0.8404 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7816, allocations: 0 / 0.8404 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.7817, allocations: 30.45 kB / 0.8404 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.7818, allocations: 66.05 kB / 0.8405 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.7819, allocations: 95.23 kB / 0.8406 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.7819, allocations: 25.7 kB / 0.8406 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.7819, allocations: 90.59 kB / 0.8407 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.7819, allocations: 11.91 kB / 0.8407 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.782, allocations: 12.03 kB / 0.8407 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7821, allocations: 321.7 kB / 0.841 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.7821, allocations: 2.75 kB / 0.841 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.7821, allocations: 19.8 kB / 0.841 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.7822, allocations: 25.66 kB / 0.8411 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7822, allocations: 0 / 0.8411 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.7823, allocations: 54.27 kB / 0.8411 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7823, allocations: 5 kB / 0.8411 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.7823, allocations: 0 / 0.8411 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.7823, allocations: 5.938 kB / 0.8411 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.7824, allocations: 5.688 kB / 0.8411 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7824, allocations: 0 / 0.8411 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.7824, allocations: 3.938 kB / 0.8411 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.7824, allocations: 2.219 kB / 0.8411 GB, free: 7.309 MB / 0.6075 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 8.035e-05/0.7825, allocations: 112.4 kB / 0.8412 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.7825, allocations: 2.625 kB / 0.8413 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.7826, allocations: 123.6 kB / 0.8414 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-05/0.7827, allocations: 180.3 kB / 0.8415 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.347e-05/0.7828, allocations: 191.1 kB / 0.8417 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-05/0.7829, allocations: 180.2 kB / 0.8419 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.7831, allocations: 382.3 kB / 0.8423 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/0.7831, allocations: 103 kB / 0.8424 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.7832, allocations: 109 kB / 0.8425 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.052e-05/0.7833, allocations: 183.4 kB / 0.8426 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.078e-05/0.7833, allocations: 184.3 kB / 0.8428 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.66e-05/0.7834, allocations: 184.2 kB / 0.843 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.288e-05/0.7835, allocations: 179 kB / 0.8432 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.7837, allocations: 309.8 kB / 0.8435 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.7837, allocations: 111.7 kB / 0.8436 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.7838, allocations: 186.1 kB / 0.8437 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.784, allocations: 103.6 kB / 0.8438 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.784, allocations: 180.2 kB / 0.844 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.7841, allocations: 115.9 kB / 0.8441 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.7842, allocations: 84.09 kB / 0.8442 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7842, allocations: 0 / 0.8442 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003419/0.7845, allocations: 57.64 kB / 0.8443 GB, free: 4 MB / 0.6075 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.0006943/0.7852, allocations: 0.8786 MB / 0.8451 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.312e-05/0.7853, allocations: 12.95 kB / 0.8451 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.7853, allocations: 0 / 0.8451 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7853, allocations: 4.125 kB / 0.8451 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.7857, allocations: 464.9 kB / 0.8456 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.787, allocations: 1.345 MB / 0.8469 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.7873, allocations: 0.6752 MB / 0.8475 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.7874, allocations: 8.531 kB / 0.8476 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.7874, allocations: 14.17 kB / 0.8476 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.7874, allocations: 0 / 0.8476 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.8099, allocations: 2.336 MB / 0.8498 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.04, allocations: 8.219 kB / 0.8499 GB, free: 15.36 MB / 0.6231 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.797431358019821] Failed to read output from testmodel.py, exit status != 0: 12.192442569998093 12.208740352 11.425619431 Calling exit ...