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.001541/0.001541, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001569/0.001569, allocations: 195.5 kB / 16.25 MB, free: 6.641 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9214/0.9214, allocations: 135.6 MB / 425.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001794, allocations: 68.77 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1566, allocations: 81.01 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002254/0.1589, allocations: 1.325 MB / 0.5858 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3767/0.5356, allocations: 135.7 MB / 0.7183 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.5357, allocations: 1.094 kB / 0.7183 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.5357, allocations: 4.641 kB / 0.7183 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.5358, allocations: 2.469 kB / 0.7183 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5372, allocations: 408.1 kB / 0.7187 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.5373, allocations: 50.38 kB / 0.7188 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.5373, allocations: 2.109 kB / 0.7188 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.5373, allocations: 20.67 kB / 0.7188 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.5374, allocations: 18.56 kB / 0.7188 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.5374, allocations: 2.438 kB / 0.7188 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.5388, allocations: 0.8168 MB / 0.7196 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.5388, allocations: 5.062 kB / 0.7196 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.5389, allocations: 22.91 kB / 0.7196 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.5395, allocations: 453.9 kB / 0.7201 GB, free: 8.512 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5395, allocations: 0 / 0.7201 GB, free: 8.512 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5395, allocations: 1.094 kB / 0.7201 GB, free: 8.512 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.5396, allocations: 0 / 0.7201 GB, free: 8.512 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.0005029/0.5401, allocations: 368 kB / 0.7204 GB, free: 8.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5401, allocations: 11.69 kB / 0.7204 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.5403, allocations: 20.81 kB / 0.7205 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.5404, allocations: 161.7 kB / 0.7206 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.5404, allocations: 3.094 kB / 0.7206 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.5404, allocations: 3.719 kB / 0.7206 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5406, allocations: 58.23 kB / 0.7207 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.5406, allocations: 3.938 kB / 0.7207 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5406, allocations: 1.438 kB / 0.7207 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5406, allocations: 1.469 kB / 0.7207 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/0.5407, allocations: 18.52 kB / 0.7207 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.5409, allocations: 176.3 kB / 0.7209 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.541, allocations: 48.19 kB / 0.7209 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.541, allocations: 16.91 kB / 0.7209 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.5517, allocations: 3.173 MB / 0.724 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5517, allocations: 41.64 kB / 0.7241 GB, free: 6.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/0.5517, allocations: 0 / 0.7241 GB, free: 6.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03925/0.591, allocations: 14.86 MB / 0.7386 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5911, allocations: 51.41 kB / 0.7386 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.5911, allocations: 93.86 kB / 0.7387 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5912, allocations: 33.83 kB / 0.7387 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.5912, allocations: 80.14 kB / 0.7388 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.5913, allocations: 43.33 kB / 0.7389 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.5913, allocations: 33.7 kB / 0.7389 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5915, allocations: 314.8 kB / 0.7392 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.5916, allocations: 27.98 kB / 0.7392 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.5916, allocations: 19.98 kB / 0.7392 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.5917, allocations: 64.8 kB / 0.7393 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5918, allocations: 7.938 kB / 0.7393 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002168/0.592, allocations: 106.2 kB / 0.7394 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.592, allocations: 4 kB / 0.7394 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.592, allocations: 0 / 0.7394 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.592, allocations: 0 / 0.7394 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5922, allocations: 27.98 kB / 0.7394 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5922, allocations: 4 kB / 0.7394 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.5922, allocations: 1.812 kB / 0.7395 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.5922, allocations: 8 kB / 0.7395 GB, free: 13.31 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 9.296e-05/0.5923, allocations: 121.7 kB / 0.7396 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.5924, allocations: 4 kB / 0.7396 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.5926, allocations: 125.4 kB / 0.7397 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5927, allocations: 0 / 0.7397 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5927, allocations: 0 / 0.7397 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5927, allocations: 0 / 0.7397 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.5928, allocations: 181.6 kB / 0.7399 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5929, allocations: 0 / 0.7399 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.593, allocations: 31.92 kB / 0.7399 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.593, allocations: 4 kB / 0.7399 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.593, allocations: 0 / 0.7399 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.593, allocations: 0 / 0.7399 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.593, allocations: 3.984 kB / 0.7399 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.5933, allocations: 156.6 kB / 0.7401 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.5934, allocations: 93.05 kB / 0.7401 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.5934, allocations: 7.984 kB / 0.7402 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.5936, allocations: 12 kB / 0.7402 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.5936, allocations: 11.98 kB / 0.7402 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.5936, allocations: 0 / 0.7402 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.5937, allocations: 83.22 kB / 0.7403 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5937, allocations: 0 / 0.7403 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001931/0.5956, allocations: 0.5703 MB / 0.7408 GB, free: 11.82 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.002829/0.5985, allocations: 355.1 kB / 0.7412 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.5987, allocations: 76.41 kB / 0.7412 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5987, allocations: 0 / 0.7412 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.5987, allocations: 31.94 kB / 0.7413 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.5989, allocations: 15.92 kB / 0.7413 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.5995, allocations: 357.5 kB / 0.7416 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.5999, allocations: 0.6885 MB / 0.7423 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.474e-05/0.6, allocations: 28.53 kB / 0.7423 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.6, allocations: 15.44 kB / 0.7423 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6, allocations: 3.938 kB / 0.7423 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.0352/0.6352, allocations: 24.23 MB / 0.766 GB, free: 1.992 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)