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.001901/0.001901, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002302/0.002302, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.781 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.9137/0.9137, allocations: 134 MB / 446.4 MB, free: 9.957 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.002051/0.002051, allocations: 71.19 kB / 0.6184 GB, free: 7.059 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2048, allocations: 85.92 MB / 0.7024 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002508/0.2073, allocations: 1.27 MB / 0.7036 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5693/0.7767, allocations: 120.9 MB / 0.8217 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.7767, allocations: 4 kB / 0.8217 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.7768, allocations: 3.938 kB / 0.8217 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.7768, allocations: 0 / 0.8217 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.7784, allocations: 464.3 kB / 0.8221 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.7785, allocations: 45.47 kB / 0.8222 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.7785, allocations: 0 / 0.8222 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.7786, allocations: 33.31 kB / 0.8222 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.7787, allocations: 11.52 kB / 0.8222 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.7787, allocations: 0 / 0.8222 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.7803, allocations: 0.8048 MB / 0.823 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.7804, allocations: 14.33 kB / 0.823 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.7804, allocations: 9.797 kB / 0.823 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.7811, allocations: 445.6 kB / 0.8235 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7811, allocations: 0 / 0.8235 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7811, allocations: 2.312 kB / 0.8235 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.7812, allocations: 0 / 0.8235 GB, free: 2.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000589/0.7817, allocations: 299.8 kB / 0.8238 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.7818, allocations: 10.5 kB / 0.8238 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.7818, allocations: 48.59 kB / 0.8238 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.782, allocations: 12.67 kB / 0.8238 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.7821, allocations: 106.5 kB / 0.8239 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.7821, allocations: 3.438 kB / 0.8239 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.7822, allocations: 14.67 kB / 0.8239 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.7824, allocations: 140.2 kB / 0.8241 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7824, allocations: 0 / 0.8241 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7824, allocations: 0 / 0.8241 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.7824, allocations: 2.625 kB / 0.8241 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.7825, allocations: 22.75 kB / 0.8241 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.7827, allocations: 136 kB / 0.8242 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.7828, allocations: 46.12 kB / 0.8243 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.7828, allocations: 21.97 kB / 0.8243 GB, free: 2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.7941, allocations: 2.863 MB / 0.8271 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.7941, allocations: 33.47 kB / 0.8271 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.7941, allocations: 0 / 0.8271 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04489/0.839, allocations: 14.93 MB / 0.8417 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.8391, allocations: 55.34 kB / 0.8418 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.8391, allocations: 93.86 kB / 0.8418 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.8392, allocations: 29.7 kB / 0.8419 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.8392, allocations: 80.14 kB / 0.8419 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.8393, allocations: 43.62 kB / 0.842 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.8393, allocations: 33.7 kB / 0.842 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8395, allocations: 318.8 kB / 0.8423 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.8395, allocations: 27.98 kB / 0.8424 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.8396, allocations: 23.98 kB / 0.8424 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.8397, allocations: 64.98 kB / 0.8424 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.8397, allocations: 0 / 0.8424 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000228/0.8399, allocations: 105 kB / 0.8425 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8399, allocations: 4 kB / 0.8425 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.8399, allocations: 0 / 0.8425 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.84, allocations: 0 / 0.8425 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.8401, allocations: 27.98 kB / 0.8426 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8401, allocations: 4 kB / 0.8426 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.8401, allocations: 3.938 kB / 0.8426 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.8401, allocations: 4 kB / 0.8426 GB, free: 3.164 MB / 0.6075 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 0.0001111/0.8402, allocations: 125.8 kB / 0.8427 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.8403, allocations: 3.953 kB / 0.8427 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.8406, allocations: 120.3 kB / 0.8428 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8406, allocations: 3.984 kB / 0.8428 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8406, allocations: 7.938 kB / 0.8428 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8406, allocations: 0 / 0.8428 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.8407, allocations: 144.7 kB / 0.843 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8407, allocations: 4 kB / 0.843 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.8409, allocations: 20 kB / 0.843 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8409, allocations: 3.984 kB / 0.843 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8409, allocations: 4 kB / 0.843 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8409, allocations: 4 kB / 0.843 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8409, allocations: 3.938 kB / 0.843 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.8412, allocations: 157 kB / 0.8432 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.8413, allocations: 11.94 kB / 0.8432 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.8413, allocations: 4 kB / 0.8432 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.8414, allocations: 12 kB / 0.8432 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.8414, allocations: 11.3 kB / 0.8432 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.8415, allocations: 11.98 kB / 0.8432 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.8415, allocations: 75.28 kB / 0.8433 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.8415, allocations: 0 / 0.8433 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001811/0.8433, allocations: 0.5738 MB / 0.8438 GB, free: 1.801 MB / 0.6075 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.004131/0.8475, allocations: 0.9363 MB / 0.8448 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.8477, allocations: 71.84 kB / 0.8448 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8477, allocations: 0 / 0.8448 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.8477, allocations: 35.98 kB / 0.8449 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.8479, allocations: 11.27 kB / 0.8449 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.8505, allocations: 1.546 MB / 0.8464 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.8505, allocations: 71.33 kB / 0.8464 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.8506, allocations: 28.48 kB / 0.8465 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.8507, allocations: 19.42 kB / 0.8465 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.8507, allocations: 0 / 0.8465 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07611/0.9268, allocations: 26.02 MB / 0.8719 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.68, allocations: 4 kB / 0.8719 GB, free: 5.07 MB / 0.6387 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: 19.65878827404231] Failed to read output from testmodel.py, exit status != 0: 12.796770451590419 12.826406459 12.040041928 Calling exit ...