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: translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.000963, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001145/0.001145, allocations: 168.7 kB / 15.95 MB, free: 204 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.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003481, allocations: 12 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 82.3 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001449/0.2049, allocations: 0.9744 MB / 0.5883 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5155/0.7204, allocations: 124.9 MB / 0.7103 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.7205, allocations: 4 kB / 0.7103 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.7206, allocations: 1.125 kB / 0.7103 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.7206, allocations: 5.297 kB / 0.7103 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.7223, allocations: 353.7 kB / 0.7107 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.7224, allocations: 39.77 kB / 0.7107 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.7224, allocations: 2.547 kB / 0.7107 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.7225, allocations: 23.7 kB / 0.7107 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.7226, allocations: 23.08 kB / 0.7107 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.7226, allocations: 2.781 kB / 0.7107 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.7242, allocations: 0.7717 MB / 0.7115 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.7243, allocations: 12.58 kB / 0.7115 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.7243, allocations: 29.14 kB / 0.7115 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.7249, allocations: 285.3 kB / 0.7118 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.7249, allocations: 0.5156 kB / 0.7118 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7249, allocations: 0 / 0.7118 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.725, allocations: 0 / 0.7118 GB, free: 1.434 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.0006142/0.7256, allocations: 359.5 kB / 0.7122 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.7256, allocations: 13.23 kB / 0.7122 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.7259, allocations: 11.5 kB / 0.7122 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.726, allocations: 171.9 kB / 0.7123 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.726, allocations: 1.469 kB / 0.7123 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.7261, allocations: 3.469 kB / 0.7123 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.7263, allocations: 56.59 kB / 0.7124 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7263, allocations: 0 / 0.7124 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.7263, allocations: 1.031 kB / 0.7124 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7263, allocations: 0 / 0.7124 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.7264, allocations: 23.88 kB / 0.7124 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.7266, allocations: 175.6 kB / 0.7126 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.7268, allocations: 52.38 kB / 0.7126 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.7268, allocations: 17.75 kB / 0.7127 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.7378, allocations: 3.202 MB / 0.7158 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.7379, allocations: 36.66 kB / 0.7158 GB, free: 15.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.7379, allocations: 0 / 0.7158 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03658/0.7745, allocations: 14.25 MB / 0.7297 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.7746, allocations: 55.36 kB / 0.7298 GB, free: 10.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.7747, allocations: 93.86 kB / 0.7299 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.7747, allocations: 29.7 kB / 0.7299 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.7748, allocations: 80.14 kB / 0.73 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.7748, allocations: 35.45 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.7748, allocations: 11.94 kB / 0.73 GB, free: 9.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.775, allocations: 314.8 kB / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.775, allocations: 28.12 kB / 0.7304 GB, free: 9.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.7751, allocations: 23.98 kB / 0.7304 GB, free: 9.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-05/0.7751, allocations: 24 kB / 0.7304 GB, free: 9.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.7752, allocations: 0 / 0.7304 GB, free: 9.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002147/0.7754, allocations: 102.2 kB / 0.7305 GB, free: 9.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.7754, allocations: 7.938 kB / 0.7305 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7754, allocations: 0 / 0.7305 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7754, allocations: 4 kB / 0.7305 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.7756, allocations: 27.92 kB / 0.7305 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7756, allocations: 7.5 kB / 0.7305 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.7756, allocations: 11.95 kB / 0.7306 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.7756, allocations: 7.984 kB / 0.7306 GB, free: 9.434 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 9.125e-05/0.7757, allocations: 113.8 kB / 0.7307 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.7758, allocations: 3.906 kB / 0.7307 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.776, allocations: 129.5 kB / 0.7308 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7761, allocations: 0 / 0.7308 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7761, allocations: 3.984 kB / 0.7308 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.7761, allocations: 4 kB / 0.7308 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.7762, allocations: 173.6 kB / 0.731 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7762, allocations: 4 kB / 0.731 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.7764, allocations: 16 kB / 0.731 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7764, allocations: 7.984 kB / 0.731 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.7764, allocations: 7.938 kB / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7764, allocations: 0 / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7764, allocations: 4 kB / 0.731 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.7767, allocations: 157 kB / 0.7312 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.7768, allocations: 89 kB / 0.7312 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7768, allocations: 0 / 0.7312 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7769, allocations: 16 kB / 0.7313 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.777, allocations: 11.98 kB / 0.7313 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.777, allocations: 8 kB / 0.7313 GB, free: 8.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.777, allocations: 79.27 kB / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.777, allocations: 0 / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002665/0.7797, allocations: 0.574 MB / 0.7319 GB, free: 7.945 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.003011/0.7827, allocations: 356.2 kB / 0.7323 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.783, allocations: 59.92 kB / 0.7323 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.783, allocations: 0 / 0.7323 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.7831, allocations: 35.98 kB / 0.7323 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.7833, allocations: 19.89 kB / 0.7324 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.7841, allocations: 409.3 kB / 0.7328 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.7845, allocations: 0.6895 MB / 0.7334 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000116/0.7847, allocations: 20.55 kB / 0.7334 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.7847, allocations: 19.44 kB / 0.7335 GB, free: 6.305 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.7847, allocations: 0 / 0.7335 GB, free: 6.305 MB / 0.545 GB Notification: Performance of Templates: time 0.05433/0.839, allocations: 25.63 MB / 0.7585 GB, free: 12.67 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)