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.001119/0.001119, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 199 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9328/0.9328, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 68.11 kB / 0.5053 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1556, allocations: 80.93 MB / 0.5843 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002352/0.158, allocations: 1.317 MB / 0.5856 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3863/0.5444, allocations: 135.7 MB / 0.7182 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.5445, allocations: 5.156 kB / 0.7182 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.5445, allocations: 0.7031 kB / 0.7182 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.5446, allocations: 5.703 kB / 0.7182 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5457, allocations: 368.8 kB / 0.7185 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.5458, allocations: 46.23 kB / 0.7186 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.449e-05/0.5458, allocations: 1.766 kB / 0.7186 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.5459, allocations: 26.75 kB / 0.7186 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.546, allocations: 20.31 kB / 0.7186 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.546, allocations: 2.312 kB / 0.7186 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.5476, allocations: 0.8205 MB / 0.7194 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.5476, allocations: 9.484 kB / 0.7194 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.5476, allocations: 18.25 kB / 0.7194 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.548, allocations: 295.8 kB / 0.7197 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.548, allocations: 0.6562 kB / 0.7197 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.21e-07/0.548, allocations: 0 / 0.7197 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.548, allocations: 0 / 0.7197 GB, free: 9.559 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.0004715/0.5485, allocations: 374.4 kB / 0.7201 GB, free: 9.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5486, allocations: 12.25 kB / 0.7201 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.5487, allocations: 13.33 kB / 0.7201 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.5489, allocations: 166.7 kB / 0.7203 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.5489, allocations: 5.75 kB / 0.7203 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.5489, allocations: 5.922 kB / 0.7203 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5491, allocations: 61.7 kB / 0.7203 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5491, allocations: 0.5625 kB / 0.7203 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5491, allocations: 1.406 kB / 0.7203 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5491, allocations: 3.938 kB / 0.7203 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.5492, allocations: 18.83 kB / 0.7204 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.5493, allocations: 171.7 kB / 0.7205 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5495, allocations: 53.61 kB / 0.7206 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.5495, allocations: 17.84 kB / 0.7206 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.5602, allocations: 3.168 MB / 0.7237 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.5603, allocations: 36.34 kB / 0.7237 GB, free: 7.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.5603, allocations: 1.031 kB / 0.7237 GB, free: 7.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03953/0.5999, allocations: 14.86 MB / 0.7382 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5999, allocations: 51.41 kB / 0.7383 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.6, allocations: 93.86 kB / 0.7384 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.6, allocations: 33.7 kB / 0.7384 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.6001, allocations: 80.14 kB / 0.7385 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.6001, allocations: 43.38 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.6002, allocations: 29.7 kB / 0.7385 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.6003, allocations: 322.8 kB / 0.7389 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.6003, allocations: 23.98 kB / 0.7389 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.6004, allocations: 19.98 kB / 0.7389 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.6005, allocations: 74.36 kB / 0.739 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6005, allocations: 0 / 0.739 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002141/0.6008, allocations: 102.7 kB / 0.7391 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6008, allocations: 8 kB / 0.7391 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6008, allocations: 0 / 0.7391 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6008, allocations: 3.984 kB / 0.7391 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6009, allocations: 31.92 kB / 0.7391 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.6009, allocations: 0 / 0.7391 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.601, allocations: 4.688 kB / 0.7391 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.601, allocations: 4 kB / 0.7391 GB, free: 14.49 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.834e-05/0.6011, allocations: 121.8 kB / 0.7392 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.6012, allocations: 8 kB / 0.7392 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.6014, allocations: 117.4 kB / 0.7394 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6014, allocations: 4 kB / 0.7394 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6014, allocations: 4 kB / 0.7394 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6014, allocations: 3.984 kB / 0.7394 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.6016, allocations: 181.1 kB / 0.7395 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6016, allocations: 0 / 0.7395 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6017, allocations: 20 kB / 0.7396 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6018, allocations: 0 / 0.7396 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.6018, allocations: 7.984 kB / 0.7396 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6018, allocations: 4 kB / 0.7396 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6018, allocations: 0 / 0.7396 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.6021, allocations: 163.3 kB / 0.7397 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.6022, allocations: 93.03 kB / 0.7398 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.6022, allocations: 4 kB / 0.7398 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.6023, allocations: 8 kB / 0.7398 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.6024, allocations: 7.984 kB / 0.7398 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.6024, allocations: 8 kB / 0.7398 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.6024, allocations: 79.28 kB / 0.7399 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6024, allocations: 0 / 0.7399 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002121/0.6046, allocations: 0.5663 MB / 0.7405 GB, free: 13.01 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.003224/0.6078, allocations: 359.1 kB / 0.7408 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.608, allocations: 67.84 kB / 0.7409 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.608, allocations: 4 kB / 0.7409 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.6081, allocations: 31.92 kB / 0.7409 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.6083, allocations: 14.22 kB / 0.7409 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.6089, allocations: 392.5 kB / 0.7413 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.6092, allocations: 0.6817 MB / 0.742 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.6093, allocations: 27.42 kB / 0.742 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.6093, allocations: 0 / 0.742 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02229/0.6316, allocations: 14.32 MB / 0.756 GB, free: 13.11 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)