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.001129/0.001129, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001544/0.001545, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9579/0.9579, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003147, allocations: 12.22 kB / 0.5071 GB, free: 5.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 82.31 MB / 0.5874 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001157/0.1834, allocations: 0.9822 MB / 0.5884 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.502/0.6854, allocations: 124.9 MB / 0.7104 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.6855, allocations: 1.594 kB / 0.7104 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.6855, allocations: 1.031 kB / 0.7104 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.6856, allocations: 4.891 kB / 0.7104 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.6867, allocations: 361.3 kB / 0.7107 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.44e-05/0.6868, allocations: 30.06 kB / 0.7108 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.6869, allocations: 2 kB / 0.7108 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.6869, allocations: 29.17 kB / 0.7108 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.687, allocations: 19.03 kB / 0.7108 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.687, allocations: 6.656 kB / 0.7108 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.6885, allocations: 0.7629 MB / 0.7116 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.6886, allocations: 19.81 kB / 0.7116 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.6886, allocations: 30.89 kB / 0.7116 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.689, allocations: 282.8 kB / 0.7119 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.689, allocations: 5.203 kB / 0.7119 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6891, allocations: 0 / 0.7119 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.6891, allocations: 0 / 0.7119 GB, free: 1.422 MB / 0.5294 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.0004558/0.6895, allocations: 359.5 kB / 0.7122 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6896, allocations: 9.719 kB / 0.7122 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.6896, allocations: 36.75 kB / 0.7123 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.6898, allocations: 15.12 kB / 0.7123 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.6899, allocations: 165.4 kB / 0.7125 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.6899, allocations: 1.469 kB / 0.7125 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.6899, allocations: 9.406 kB / 0.7125 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.6901, allocations: 59.31 kB / 0.7125 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.6901, allocations: 0 / 0.7125 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.6901, allocations: 5.531 kB / 0.7125 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6901, allocations: 0 / 0.7125 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.6902, allocations: 19.41 kB / 0.7125 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.6904, allocations: 171.5 kB / 0.7127 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.6905, allocations: 48.72 kB / 0.7128 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.6905, allocations: 17.34 kB / 0.7128 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00971/0.7002, allocations: 3.21 MB / 0.7159 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.7003, allocations: 33.38 kB / 0.7159 GB, free: 15.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.7003, allocations: 0 / 0.7159 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03479/0.7351, allocations: 14.25 MB / 0.7299 GB, free: 10.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.7352, allocations: 55.41 kB / 0.7299 GB, free: 10.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.7353, allocations: 101.8 kB / 0.73 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.7353, allocations: 25.7 kB / 0.73 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.7354, allocations: 80.14 kB / 0.7301 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.7354, allocations: 43.44 kB / 0.7301 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.7354, allocations: 0 / 0.7301 GB, free: 9.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.7355, allocations: 318.8 kB / 0.7305 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.7356, allocations: 20.11 kB / 0.7305 GB, free: 9.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.7356, allocations: 27.98 kB / 0.7305 GB, free: 9.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.641e-05/0.7357, allocations: 28.5 kB / 0.7305 GB, free: 9.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7357, allocations: 0 / 0.7305 GB, free: 9.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002072/0.7359, allocations: 106.7 kB / 0.7306 GB, free: 9.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7359, allocations: 7.984 kB / 0.7306 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7359, allocations: 3.938 kB / 0.7306 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.736, allocations: 4 kB / 0.7306 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.7361, allocations: 20 kB / 0.7307 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7361, allocations: 7.984 kB / 0.7307 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.7361, allocations: 8.5 kB / 0.7307 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.7362, allocations: 12 kB / 0.7307 GB, free: 9.348 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.7362, allocations: 113.8 kB / 0.7308 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.7363, allocations: 4 kB / 0.7308 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.7366, allocations: 125.4 kB / 0.7309 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7366, allocations: 4 kB / 0.7309 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7366, allocations: 1.5 kB / 0.7309 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7366, allocations: 0 / 0.7309 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.7367, allocations: 173.6 kB / 0.7311 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7368, allocations: 0 / 0.7311 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.7369, allocations: 31.92 kB / 0.7311 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7369, allocations: 4 kB / 0.7311 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.7369, allocations: 0 / 0.7311 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7369, allocations: 3.938 kB / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7369, allocations: 0 / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.7372, allocations: 154 kB / 0.7313 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.7373, allocations: 89.05 kB / 0.7314 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.7373, allocations: 7.5 kB / 0.7314 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.7374, allocations: 15.98 kB / 0.7314 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.7375, allocations: 7.984 kB / 0.7314 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.7375, allocations: 8 kB / 0.7314 GB, free: 8.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.7375, allocations: 83.22 kB / 0.7315 GB, free: 8.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7375, allocations: 0 / 0.7315 GB, free: 8.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00243/0.74, allocations: 0.5663 MB / 0.732 GB, free: 7.875 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004632/0.7446, allocations: 0.9437 MB / 0.733 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.7448, allocations: 71.84 kB / 0.733 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7448, allocations: 4 kB / 0.733 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.624e-05/0.7449, allocations: 35.92 kB / 0.7331 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.7451, allocations: 10.81 kB / 0.7331 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.7471, allocations: 0.7532 MB / 0.7338 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.7473, allocations: 0.6972 MB / 0.7345 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.788e-05/0.7474, allocations: 24.55 kB / 0.7345 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.7475, allocations: 27.48 kB / 0.7345 GB, free: 5.227 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.7475, allocations: 0 / 0.7345 GB, free: 5.227 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.7967, allocations: 26.61 MB / 0.7605 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.7969, allocations: 171.4 kB / 0.7607 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.436, allocations: 7.938 kB / 0.7607 GB, free: 10.47 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/linux/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) Environment - environmentSimulation: