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.0008529/0.000853, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008716/0.0008718, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9183/0.9183, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003084, allocations: 8 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001362/0.1575, allocations: 0.9783 MB / 0.5896 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3824/0.5399, allocations: 134.3 MB / 0.7207 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.5399, allocations: 1.219 kB / 0.7207 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.54, allocations: 1.172 kB / 0.7207 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.54, allocations: 4.781 kB / 0.7207 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.5412, allocations: 374.3 kB / 0.721 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.5413, allocations: 41.56 kB / 0.7211 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.5413, allocations: 2.031 kB / 0.7211 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.5414, allocations: 26.95 kB / 0.7211 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.5415, allocations: 11.5 kB / 0.7211 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.5415, allocations: 2.812 kB / 0.7211 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.5431, allocations: 0.8235 MB / 0.7219 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.5431, allocations: 13.41 kB / 0.7219 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.5432, allocations: 41.44 kB / 0.722 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.5436, allocations: 303.5 kB / 0.7223 GB, free: 9.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5436, allocations: 0 / 0.7223 GB, free: 9.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5436, allocations: 0 / 0.7223 GB, free: 9.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5436, allocations: 0 / 0.7223 GB, free: 9.191 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.0004871/0.5441, allocations: 360.4 kB / 0.7226 GB, free: 8.824 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5442, allocations: 8.969 kB / 0.7226 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.5444, allocations: 12.58 kB / 0.7226 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.5445, allocations: 166.2 kB / 0.7228 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5445, allocations: 1.969 kB / 0.7228 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.5445, allocations: 13.97 kB / 0.7228 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5447, allocations: 57.61 kB / 0.7229 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5447, allocations: 0 / 0.7229 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5447, allocations: 0.9688 kB / 0.7229 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5447, allocations: 1.062 kB / 0.7229 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/0.5448, allocations: 20.05 kB / 0.7229 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.545, allocations: 166.3 kB / 0.723 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.5451, allocations: 60.02 kB / 0.7231 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.5451, allocations: 18.44 kB / 0.7231 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.5565, allocations: 3.21 MB / 0.7262 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.5566, allocations: 32.73 kB / 0.7263 GB, free: 7.512 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.5566, allocations: 0 / 0.7263 GB, free: 7.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03845/0.595, allocations: 14.24 MB / 0.7402 GB, free: 364 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5951, allocations: 55.41 kB / 0.7402 GB, free: 296 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.5952, allocations: 97.8 kB / 0.7403 GB, free: 188 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.5952, allocations: 33.83 kB / 0.7404 GB, free: 148 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.5952, allocations: 80.14 kB / 0.7404 GB, free: 64 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.5953, allocations: 43.39 kB / 0.7405 GB, free: 20 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.5953, allocations: 17.8 kB / 0.7405 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.5954, allocations: 318.8 kB / 0.7408 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.5955, allocations: 23.98 kB / 0.7408 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.5955, allocations: 24 kB / 0.7408 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.5957, allocations: 65.78 kB / 0.7409 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5957, allocations: 0 / 0.7409 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000209/0.5959, allocations: 106.8 kB / 0.741 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5959, allocations: 4 kB / 0.741 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5959, allocations: 3.984 kB / 0.741 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5959, allocations: 0 / 0.741 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.5961, allocations: 23.94 kB / 0.741 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5961, allocations: 0 / 0.741 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.5961, allocations: 4 kB / 0.741 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.5961, allocations: 11.55 kB / 0.7411 GB, free: 15.41 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 7.808e-05/0.5962, allocations: 117.8 kB / 0.7412 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.5963, allocations: 11.91 kB / 0.7412 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.5965, allocations: 125.4 kB / 0.7413 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5965, allocations: 3.938 kB / 0.7413 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5966, allocations: 0 / 0.7413 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5966, allocations: 0 / 0.7413 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5967, allocations: 181.5 kB / 0.7415 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5967, allocations: 0 / 0.7415 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.5968, allocations: 27.98 kB / 0.7415 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5968, allocations: 0 / 0.7415 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.5969, allocations: 4 kB / 0.7415 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5969, allocations: 0 / 0.7415 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5969, allocations: 0 / 0.7415 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.5972, allocations: 168.5 kB / 0.7417 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.5972, allocations: 89.14 kB / 0.7418 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.5973, allocations: 4 kB / 0.7418 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.5974, allocations: 15.98 kB / 0.7418 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.5974, allocations: 11.98 kB / 0.7418 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5975, allocations: 4 kB / 0.7418 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.5975, allocations: 75.28 kB / 0.7419 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5975, allocations: 0 / 0.7419 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002054/0.5996, allocations: 0.5703 MB / 0.7424 GB, free: 13.92 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.002867/0.6024, allocations: 347 kB / 0.7427 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.6026, allocations: 67.91 kB / 0.7428 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6026, allocations: 4 kB / 0.7428 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.777e-05/0.6027, allocations: 39.86 kB / 0.7429 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.6029, allocations: 11.94 kB / 0.7429 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.6035, allocations: 438.9 kB / 0.7433 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.6037, allocations: 0.6895 MB / 0.744 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.6038, allocations: 19.44 kB / 0.744 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6038, allocations: 0 / 0.744 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.02332/0.6271, allocations: 14.31 MB / 0.758 GB, free: 13.97 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)