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.001429/0.001429, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001446/0.001446, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 135.2 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.36 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 80.93 MB / 0.5839 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002508/0.1902, allocations: 1.313 MB / 0.5852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4535/0.6437, allocations: 135.7 MB / 0.7178 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.6438, allocations: 0 / 0.7178 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.6438, allocations: 4.75 kB / 0.7178 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.6439, allocations: 1.859 kB / 0.7178 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.6453, allocations: 408.5 kB / 0.7182 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.6454, allocations: 42.38 kB / 0.7182 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.6455, allocations: 2.344 kB / 0.7182 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.6455, allocations: 27.14 kB / 0.7182 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.6456, allocations: 21.33 kB / 0.7183 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.6456, allocations: 1.875 kB / 0.7183 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.6472, allocations: 0.8122 MB / 0.719 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.6472, allocations: 13.23 kB / 0.7191 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.6472, allocations: 14.41 kB / 0.7191 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.648, allocations: 448.2 kB / 0.7195 GB, free: 9.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.648, allocations: 4.938 kB / 0.7195 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.648, allocations: 0 / 0.7195 GB, free: 9.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.648, allocations: 0 / 0.7195 GB, free: 9.059 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.0006087/0.6486, allocations: 375.6 kB / 0.7199 GB, free: 8.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6487, allocations: 9.25 kB / 0.7199 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.6489, allocations: 13.81 kB / 0.7199 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.649, allocations: 162.3 kB / 0.72 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.649, allocations: 1.469 kB / 0.72 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.6491, allocations: 9.281 kB / 0.7201 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.6492, allocations: 57.89 kB / 0.7201 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.6492, allocations: 0 / 0.7201 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.6493, allocations: 5.156 kB / 0.7201 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6493, allocations: 6 kB / 0.7201 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.6494, allocations: 14.19 kB / 0.7201 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.6496, allocations: 171.5 kB / 0.7203 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.6497, allocations: 54.12 kB / 0.7203 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.6497, allocations: 18 kB / 0.7204 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.6607, allocations: 3.176 MB / 0.7235 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.6608, allocations: 32.75 kB / 0.7235 GB, free: 7.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.6608, allocations: 1.812 kB / 0.7235 GB, free: 7.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04111/0.7019, allocations: 14.86 MB / 0.738 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.702, allocations: 55.41 kB / 0.7381 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.7021, allocations: 93.86 kB / 0.7382 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.7021, allocations: 29.7 kB / 0.7382 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.7021, allocations: 84.14 kB / 0.7383 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.7022, allocations: 39.39 kB / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.7023, allocations: 33.7 kB / 0.7383 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7024, allocations: 314.8 kB / 0.7386 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.7025, allocations: 23.98 kB / 0.7387 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.7025, allocations: 24.11 kB / 0.7387 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.7027, allocations: 73.98 kB / 0.7387 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7027, allocations: 0 / 0.7387 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002203/0.7029, allocations: 102.5 kB / 0.7388 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.7029, allocations: 4 kB / 0.7388 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7029, allocations: 2.75 kB / 0.7389 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.703, allocations: 4 kB / 0.7389 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.7031, allocations: 31.92 kB / 0.7389 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7031, allocations: 0 / 0.7389 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.7031, allocations: 0 / 0.7389 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.7032, allocations: 8 kB / 0.7389 GB, free: 14.07 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 0.0001066/0.7033, allocations: 125.7 kB / 0.739 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.7033, allocations: 0 / 0.739 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.7036, allocations: 129 kB / 0.7391 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.7036, allocations: 4 kB / 0.7391 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7037, allocations: 7.984 kB / 0.7391 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7037, allocations: 0 / 0.7391 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.7038, allocations: 177.6 kB / 0.7393 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7038, allocations: 0 / 0.7393 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.704, allocations: 27.98 kB / 0.7393 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.704, allocations: 0 / 0.7393 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.704, allocations: 0 / 0.7393 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.704, allocations: 0 / 0.7393 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.704, allocations: 4 kB / 0.7393 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.7043, allocations: 160.8 kB / 0.7395 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.7044, allocations: 93.05 kB / 0.7396 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.7045, allocations: 4 kB / 0.7396 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.7046, allocations: 14.48 kB / 0.7396 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.7046, allocations: 8 kB / 0.7396 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.7047, allocations: 4 kB / 0.7396 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.7047, allocations: 83.27 kB / 0.7397 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7047, allocations: 0 / 0.7397 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002143/0.7068, allocations: 0.5663 MB / 0.7403 GB, free: 12.58 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.00291/0.7098, allocations: 359.2 kB / 0.7406 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.71, allocations: 78.72 kB / 0.7407 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.71, allocations: 0 / 0.7407 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.7101, allocations: 35.92 kB / 0.7407 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.7103, allocations: 12.78 kB / 0.7407 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.7109, allocations: 349.1 kB / 0.741 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.7112, allocations: 0.6885 MB / 0.7417 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.631e-05/0.7113, allocations: 24.55 kB / 0.7417 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.7114, allocations: 19.44 kB / 0.7418 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.7114, allocations: 0 / 0.7418 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.03866/0.75, allocations: 24.24 MB / 0.7654 GB, free: 2.742 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)