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.001206/0.001206, 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.001249/0.001249, allocations: 195.3 kB / 16.26 MB, free: 6.621 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.2 MB / 425.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 68.02 kB / 0.5049 GB, free: 5.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1771, allocations: 80.93 MB / 0.5839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.003243/0.1804, allocations: 1.317 MB / 0.5852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4884/0.6688, allocations: 135.7 MB / 0.7178 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.6689, allocations: 0 / 0.7178 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.669, allocations: 0.5625 kB / 0.7178 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.109e-05/0.6691, allocations: 6.766 kB / 0.7178 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.6708, allocations: 411.7 kB / 0.7182 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.6709, allocations: 42.53 kB / 0.7182 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.671, allocations: 1.703 kB / 0.7182 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.671, allocations: 19.36 kB / 0.7182 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.6711, allocations: 31.11 kB / 0.7183 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.6711, allocations: 2.219 kB / 0.7183 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.6728, allocations: 0.8086 MB / 0.7191 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.6729, allocations: 9.859 kB / 0.7191 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.6729, allocations: 21.53 kB / 0.7191 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.6737, allocations: 445.2 kB / 0.7195 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6737, allocations: 4 kB / 0.7195 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6737, allocations: 1.469 kB / 0.7195 GB, free: 8.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.6738, allocations: 0 / 0.7195 GB, free: 8.988 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.0005417/0.6743, allocations: 371 kB / 0.7199 GB, free: 8.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6744, allocations: 9.875 kB / 0.7199 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.6746, allocations: 12.81 kB / 0.7199 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6747, allocations: 163.2 kB / 0.72 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6747, allocations: 1.625 kB / 0.72 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.6747, allocations: 8.609 kB / 0.7201 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.6749, allocations: 73.09 kB / 0.7201 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6749, allocations: 1.219 kB / 0.7201 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.675, allocations: 0 / 0.7201 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.675, allocations: 2.078 kB / 0.7201 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.6751, allocations: 23.39 kB / 0.7202 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.6753, allocations: 166.4 kB / 0.7203 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.6754, allocations: 48.98 kB / 0.7204 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.6755, allocations: 23.08 kB / 0.7204 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/0.6878, allocations: 3.168 MB / 0.7235 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.6879, allocations: 31.66 kB / 0.7235 GB, free: 7.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.6879, allocations: 0 / 0.7235 GB, free: 7.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04055/0.7285, allocations: 14.86 MB / 0.738 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.7286, allocations: 55.41 kB / 0.7381 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.7287, allocations: 97.84 kB / 0.7382 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.7287, allocations: 29.7 kB / 0.7382 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.7288, allocations: 80.14 kB / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.7288, allocations: 47.38 kB / 0.7383 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.7289, allocations: 25.72 kB / 0.7383 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7291, allocations: 327 kB / 0.7386 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.7291, allocations: 19.98 kB / 0.7387 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.7292, allocations: 20.62 kB / 0.7387 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.7293, allocations: 74.66 kB / 0.7388 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7293, allocations: 0 / 0.7388 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002164/0.7296, allocations: 104.5 kB / 0.7389 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7296, allocations: 4 kB / 0.7389 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7296, allocations: 7.984 kB / 0.7389 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7296, allocations: 0 / 0.7389 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.7298, allocations: 25.94 kB / 0.7389 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7298, allocations: 3.938 kB / 0.7389 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.7298, allocations: 4 kB / 0.7389 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.7298, allocations: 7.984 kB / 0.7389 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 0.0001101/0.7299, allocations: 117.8 kB / 0.739 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.73, allocations: 4 kB / 0.739 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.7303, allocations: 125.4 kB / 0.7391 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.7303, allocations: 4 kB / 0.7391 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.7303, allocations: 3.938 kB / 0.7391 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7303, allocations: 0 / 0.7391 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.7305, allocations: 177.6 kB / 0.7393 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7305, allocations: 0 / 0.7393 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.7307, allocations: 23.98 kB / 0.7393 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7307, allocations: 0 / 0.7393 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.7307, allocations: 4 kB / 0.7393 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.7307, allocations: 8 kB / 0.7394 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7307, allocations: 3.75 kB / 0.7394 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.731, allocations: 154.5 kB / 0.7395 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.7311, allocations: 97.08 kB / 0.7396 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.7312, allocations: 3.984 kB / 0.7396 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.7313, allocations: 19.98 kB / 0.7396 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.7313, allocations: 7.984 kB / 0.7396 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.7314, allocations: 4 kB / 0.7396 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.7314, allocations: 79.28 kB / 0.7397 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7314, allocations: 0 / 0.7397 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00294/0.7344, allocations: 0.5624 MB / 0.7403 GB, free: 12.54 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.003081/0.7375, allocations: 355.1 kB / 0.7406 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.7378, allocations: 75.86 kB / 0.7407 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7378, allocations: 3.938 kB / 0.7407 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.7379, allocations: 43.92 kB / 0.7407 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.7381, allocations: 11 kB / 0.7407 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.7389, allocations: 360.2 kB / 0.7411 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.7392, allocations: 0.6807 MB / 0.7417 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.7394, allocations: 28.53 kB / 0.7418 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.7394, allocations: 15.44 kB / 0.7418 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 6.32e-07/0.7394, allocations: 0 / 0.7418 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.04034/0.7797, allocations: 24.23 MB / 0.7654 GB, free: 2.703 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)