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.0007543/0.0007541, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007226/0.007226, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.046/1.046, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003559, allocations: 8 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 82.31 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001413/0.1966, allocations: 0.9744 MB / 0.589 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4402/0.6368, allocations: 134.3 MB / 0.7201 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.6368, allocations: 0 / 0.7201 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.6369, allocations: 0.7969 kB / 0.7201 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.6369, allocations: 6.312 kB / 0.7201 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.6383, allocations: 374 kB / 0.7205 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.6384, allocations: 46.45 kB / 0.7205 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.6384, allocations: 1.438 kB / 0.7205 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.6385, allocations: 18.95 kB / 0.7206 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.6386, allocations: 24.44 kB / 0.7206 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.6386, allocations: 1.562 kB / 0.7206 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.6403, allocations: 0.8163 MB / 0.7214 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.6403, allocations: 10.08 kB / 0.7214 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.6404, allocations: 47.45 kB / 0.7214 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007791/0.6411, allocations: 446.1 kB / 0.7219 GB, free: 9.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6412, allocations: 0 / 0.7219 GB, free: 9.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.388e-06/0.6412, allocations: 2.031 kB / 0.7219 GB, free: 9.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.6412, allocations: 0 / 0.7219 GB, free: 9.098 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.0005171/0.6417, allocations: 361.5 kB / 0.7222 GB, free: 8.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6418, allocations: 10.06 kB / 0.7222 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.6418, allocations: 33.39 kB / 0.7223 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.642, allocations: 12.66 kB / 0.7223 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.6421, allocations: 163.2 kB / 0.7224 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6421, allocations: 5.719 kB / 0.7224 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.6421, allocations: 8.688 kB / 0.7224 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.6423, allocations: 60.95 kB / 0.7225 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.6423, allocations: 0.8438 kB / 0.7225 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6423, allocations: 1.188 kB / 0.7225 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6424, allocations: 1 kB / 0.7225 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.6424, allocations: 22.77 kB / 0.7225 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.6426, allocations: 166.7 kB / 0.7227 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.6427, allocations: 57.61 kB / 0.7227 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.6428, allocations: 21.81 kB / 0.7228 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.655, allocations: 3.202 MB / 0.7259 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.6551, allocations: 36.31 kB / 0.7259 GB, free: 7.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.6551, allocations: 1.062 kB / 0.7259 GB, free: 7.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04079/0.6959, allocations: 14.25 MB / 0.7398 GB, free: 96 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.696, allocations: 51.41 kB / 0.7399 GB, free: 32 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.6961, allocations: 97.84 kB / 0.74 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.6961, allocations: 25.7 kB / 0.74 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.6962, allocations: 92.2 kB / 0.7401 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.6962, allocations: 39.39 kB / 0.7401 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.6963, allocations: 17.72 kB / 0.7401 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.6964, allocations: 322.8 kB / 0.7404 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.6964, allocations: 19.98 kB / 0.7405 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.6965, allocations: 27.98 kB / 0.7405 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.6966, allocations: 56.86 kB / 0.7405 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.6966, allocations: 0 / 0.7405 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000219/0.6968, allocations: 106.5 kB / 0.7406 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6969, allocations: 4 kB / 0.7407 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6969, allocations: 4 kB / 0.7407 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.6969, allocations: 4 kB / 0.7407 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.697, allocations: 23.98 kB / 0.7407 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.697, allocations: 0.875 kB / 0.7407 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.6971, allocations: 4 kB / 0.7407 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.6971, allocations: 4 kB / 0.7407 GB, free: 15.16 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 8.331e-05/0.6972, allocations: 121.7 kB / 0.7408 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.6972, allocations: 3.906 kB / 0.7408 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.6975, allocations: 131 kB / 0.7409 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6975, allocations: 0 / 0.7409 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6975, allocations: 0 / 0.7409 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6975, allocations: 4 kB / 0.7409 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.6977, allocations: 185.1 kB / 0.7411 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6977, allocations: 0 / 0.7411 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.6978, allocations: 35.86 kB / 0.7411 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6978, allocations: 3.984 kB / 0.7412 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6979, allocations: 4 kB / 0.7412 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6979, allocations: 0 / 0.7412 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6979, allocations: 0 / 0.7412 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.6982, allocations: 157.4 kB / 0.7413 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.6982, allocations: 89.05 kB / 0.7414 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.6982, allocations: 4 kB / 0.7414 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.6984, allocations: 19.98 kB / 0.7414 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.6984, allocations: 4 kB / 0.7414 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.6985, allocations: 11.98 kB / 0.7414 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.6985, allocations: 75.28 kB / 0.7415 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6985, allocations: 0 / 0.7415 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002284/0.7008, allocations: 0.5624 MB / 0.7421 GB, free: 13.66 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.003366/0.7042, allocations: 0.9475 MB / 0.743 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.7043, allocations: 60.8 kB / 0.743 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7043, allocations: 0 / 0.743 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.7044, allocations: 31.98 kB / 0.7431 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.7046, allocations: 8 kB / 0.7431 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.7067, allocations: 1.612 MB / 0.7446 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.7069, allocations: 0.6895 MB / 0.7453 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.685e-05/0.707, allocations: 24.53 kB / 0.7453 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.7071, allocations: 23.44 kB / 0.7454 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.7071, allocations: 0 / 0.7454 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2531/0.9602, allocations: 25.19 MB / 0.77 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.9606, allocations: 184.5 kB / 0.7701 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.577, allocations: 0 / 0.7701 GB, free: 0.7969 MB / 0.5762 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)