Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",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.001145/0.001145, allocations: 107.3 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.00123, allocations: 199.3 kB / 16.26 MB, free: 6.633 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8161/0.8161, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 68.14 kB / 0.5049 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001948/0.1152, allocations: 1.313 MB / 0.5853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3008/0.416, allocations: 135.7 MB / 0.7178 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.4161, allocations: 0 / 0.7178 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.4161, allocations: 2.188 kB / 0.7178 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.4162, allocations: 9.188 kB / 0.7178 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.4175, allocations: 416.6 kB / 0.7182 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.4175, allocations: 41.41 kB / 0.7183 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.955e-05/0.4176, allocations: 3.703 kB / 0.7183 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.4176, allocations: 19.03 kB / 0.7183 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.4177, allocations: 20.88 kB / 0.7183 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.4177, allocations: 2.25 kB / 0.7183 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.4191, allocations: 0.8167 MB / 0.7191 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.4191, allocations: 9.031 kB / 0.7191 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.4191, allocations: 16.73 kB / 0.7191 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.4198, allocations: 450 kB / 0.7196 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4198, allocations: 0.7031 kB / 0.7196 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4198, allocations: 0 / 0.7196 GB, free: 9.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4198, allocations: 1.438 kB / 0.7196 GB, free: 9.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004841/0.4203, allocations: 365.9 kB / 0.7199 GB, free: 8.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.4203, allocations: 18.31 kB / 0.7199 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.4204, allocations: 36.7 kB / 0.72 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.4205, allocations: 18.33 kB / 0.72 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.4206, allocations: 161.7 kB / 0.7201 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.4206, allocations: 1.938 kB / 0.7201 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4206, allocations: 12.75 kB / 0.7201 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.4208, allocations: 54.23 kB / 0.7202 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4208, allocations: 0.6562 kB / 0.7202 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4208, allocations: 5.125 kB / 0.7202 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4208, allocations: 0 / 0.7202 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.4209, allocations: 27.08 kB / 0.7202 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.421, allocations: 163 kB / 0.7204 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.834e-05/0.4211, allocations: 49.86 kB / 0.7204 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.4211, allocations: 21.44 kB / 0.7205 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009436/0.4306, allocations: 3.169 MB / 0.7235 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4306, allocations: 32.86 kB / 0.7236 GB, free: 7.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4306, allocations: 0 / 0.7236 GB, free: 7.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03493/0.4656, allocations: 14.86 MB / 0.7381 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.4656, allocations: 51.41 kB / 0.7381 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.784e-05/0.4657, allocations: 101.8 kB / 0.7382 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4657, allocations: 29.7 kB / 0.7383 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.4657, allocations: 80.14 kB / 0.7383 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.4657, allocations: 43.39 kB / 0.7384 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.4658, allocations: 29.72 kB / 0.7384 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.4659, allocations: 318.8 kB / 0.7387 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/0.4659, allocations: 23.98 kB / 0.7387 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.466, allocations: 24 kB / 0.7388 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.4661, allocations: 64.97 kB / 0.7388 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4661, allocations: 0.5625 kB / 0.7388 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001791/0.4663, allocations: 107 kB / 0.7389 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4663, allocations: 8 kB / 0.7389 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.4663, allocations: 0 / 0.7389 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.4663, allocations: 3.984 kB / 0.7389 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.4664, allocations: 21.69 kB / 0.739 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.4664, allocations: 0 / 0.739 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.4664, allocations: 4 kB / 0.739 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4664, allocations: 7.984 kB / 0.739 GB, free: 14.02 MB / 0.5606 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 6.588e-05/0.4665, allocations: 125.7 kB / 0.7391 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.4666, allocations: 4 kB / 0.7391 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4668, allocations: 121.4 kB / 0.7392 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4668, allocations: 4 kB / 0.7392 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4668, allocations: 7.984 kB / 0.7392 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4668, allocations: 0 / 0.7392 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.4669, allocations: 181.6 kB / 0.7394 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.467, allocations: 0 / 0.7394 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4671, allocations: 23.98 kB / 0.7394 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4671, allocations: 3.938 kB / 0.7394 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4671, allocations: 8 kB / 0.7394 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4671, allocations: 3.438 kB / 0.7394 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4671, allocations: 0 / 0.7394 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4673, allocations: 160.6 kB / 0.7396 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.4674, allocations: 93.05 kB / 0.7397 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4674, allocations: 0 / 0.7397 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.4676, allocations: 15.98 kB / 0.7397 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.4676, allocations: 7.984 kB / 0.7397 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4676, allocations: 4 kB / 0.7397 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.4676, allocations: 79.28 kB / 0.7398 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4676, allocations: 0 / 0.7398 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00112/0.4688, allocations: 0.5663 MB / 0.7403 GB, free: 12.53 MB / 0.5606 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.00289/0.4717, allocations: 0.9364 MB / 0.7412 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.4718, allocations: 70.91 kB / 0.7413 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4718, allocations: 0 / 0.7413 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.4719, allocations: 39.92 kB / 0.7414 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.472, allocations: 14.5 kB / 0.7414 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.4737, allocations: 1.563 MB / 0.7429 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.4739, allocations: 0.6892 MB / 0.7436 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.208e-05/0.474, allocations: 20.55 kB / 0.7436 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.4741, allocations: 23.42 kB / 0.7436 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.4741, allocations: 0 / 0.7436 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3745/0.8485, allocations: 25.31 MB / 0.7683 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.8488, allocations: 185.4 kB / 0.7685 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.29, allocations: 3.984 kB / 0.7685 GB, free: 15.57 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)