Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.001265/0.001265, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00175/0.00175, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.984 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.8461/0.8461, allocations: 134 MB / 446.4 MB, free: 10.2 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.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",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.001982/0.001982, allocations: 65.77 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.174, allocations: 85.9 MB / 0.7024 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002561/0.1766, allocations: 1.288 MB / 0.7037 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5897/0.7663, allocations: 141 MB / 0.8414 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.7664, allocations: 0 / 0.8414 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.7664, allocations: 0 / 0.8414 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.7664, allocations: 3.938 kB / 0.8414 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.7681, allocations: 480.5 kB / 0.8418 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.7682, allocations: 48.67 kB / 0.8419 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.7683, allocations: 6 kB / 0.8419 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.7683, allocations: 18.8 kB / 0.8419 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.7684, allocations: 19.56 kB / 0.8419 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.7684, allocations: 2.312 kB / 0.8419 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.7703, allocations: 0.8381 MB / 0.8428 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.7703, allocations: 10.67 kB / 0.8428 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.7704, allocations: 18.83 kB / 0.8428 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009184/0.7713, allocations: 445.9 kB / 0.8432 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.7713, allocations: 3.984 kB / 0.8432 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7713, allocations: 0 / 0.8432 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.7713, allocations: 0 / 0.8432 GB, free: 5.438 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000686/0.772, allocations: 303.3 kB / 0.8435 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.7721, allocations: 7.344 kB / 0.8435 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.7721, allocations: 37.62 kB / 0.8435 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.7723, allocations: 8.062 kB / 0.8435 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.7724, allocations: 124 kB / 0.8437 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.7724, allocations: 0.5625 kB / 0.8437 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.7725, allocations: 16.73 kB / 0.8437 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.7727, allocations: 58.66 kB / 0.8437 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7727, allocations: 3.984 kB / 0.8437 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7727, allocations: 4 kB / 0.8437 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.7727, allocations: 2.469 kB / 0.8437 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.7728, allocations: 18.8 kB / 0.8438 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.773, allocations: 132.7 kB / 0.8439 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.7731, allocations: 50.38 kB / 0.8439 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.7731, allocations: 22.38 kB / 0.844 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.7843, allocations: 2.856 MB / 0.8468 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.7844, allocations: 42.55 kB / 0.8468 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.7844, allocations: 0 / 0.8468 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.04241/0.8268, allocations: 14.92 MB / 0.8614 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.8269, allocations: 55.41 kB / 0.8614 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.8269, allocations: 89.86 kB / 0.8615 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.827, allocations: 33.7 kB / 0.8615 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.827, allocations: 80.14 kB / 0.8616 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.8271, allocations: 39.64 kB / 0.8616 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.8271, allocations: 33.7 kB / 0.8617 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8273, allocations: 318.8 kB / 0.862 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.8273, allocations: 31.92 kB / 0.862 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.8274, allocations: 31.23 kB / 0.862 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.8275, allocations: 56.86 kB / 0.8621 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8275, allocations: 3.984 kB / 0.8621 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002212/0.8277, allocations: 93.69 kB / 0.8622 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8277, allocations: 8 kB / 0.8622 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8277, allocations: 3.625 kB / 0.8622 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.8278, allocations: 0 / 0.8622 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.8279, allocations: 31.92 kB / 0.8622 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.8279, allocations: 0 / 0.8622 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.8279, allocations: 0 / 0.8622 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.8279, allocations: 8 kB / 0.8622 GB, free: 2.566 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 9.877e-05/0.828, allocations: 121.8 kB / 0.8624 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.8281, allocations: 7.953 kB / 0.8624 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.8284, allocations: 129 kB / 0.8625 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8284, allocations: 4 kB / 0.8625 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.8284, allocations: 4 kB / 0.8625 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8284, allocations: 0 / 0.8625 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.8285, allocations: 152.7 kB / 0.8626 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8285, allocations: 0 / 0.8626 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.8287, allocations: 27.98 kB / 0.8627 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8287, allocations: 0 / 0.8627 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.8287, allocations: 4 kB / 0.8627 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8287, allocations: 0 / 0.8627 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8287, allocations: 0 / 0.8627 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.829, allocations: 164.9 kB / 0.8628 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.8291, allocations: 11.98 kB / 0.8628 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8291, allocations: 4 kB / 0.8628 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.8292, allocations: 11.98 kB / 0.8629 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.8292, allocations: 4 kB / 0.8629 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.8293, allocations: 11.98 kB / 0.8629 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.8293, allocations: 79.28 kB / 0.8629 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8293, allocations: 4 kB / 0.863 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001961/0.8313, allocations: 0.5699 MB / 0.8635 GB, free: 1.195 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.004215/0.8355, allocations: 0.9448 MB / 0.8644 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.8357, allocations: 62.34 kB / 0.8645 GB, free: 168 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.8357, allocations: 0 / 0.8645 GB, free: 168 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.8358, allocations: 43.86 kB / 0.8645 GB, free: 124 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.8359, allocations: 8 kB / 0.8645 GB, free: 116 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.8387, allocations: 1.548 MB / 0.8661 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.839, allocations: 0.6846 MB / 0.8667 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.853e-05/0.8391, allocations: 24.53 kB / 0.8667 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.8392, allocations: 23.44 kB / 0.8668 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.8392, allocations: 0 / 0.8668 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06611/0.9053, allocations: 25.63 MB / 0.8918 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.86, allocations: 6.75 kB / 0.8918 GB, free: 4.215 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.04736915184185] Failed to read output from testmodel.py, exit status != 0: 12.97163877193816 12.989514901 12.214839427 Calling exit ...