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.001233/0.001233, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001292/0.001292, allocations: 187 kB / 17.34 MB, free: 5.766 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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 / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 62.75 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1431, allocations: 80.93 MB / 0.6653 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002303/0.1454, allocations: 1.262 MB / 0.6665 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5006/0.646, allocations: 137.7 MB / 0.801 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.6461, allocations: 0 / 0.801 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.6462, allocations: 3.938 kB / 0.801 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.6462, allocations: 11.28 kB / 0.801 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.6475, allocations: 453.9 kB / 0.8014 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.6476, allocations: 43.48 kB / 0.8015 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.6476, allocations: 2.375 kB / 0.8015 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.6476, allocations: 23.77 kB / 0.8015 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.6477, allocations: 17.23 kB / 0.8015 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.6477, allocations: 2.906 kB / 0.8015 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.6491, allocations: 0.8366 MB / 0.8023 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.6491, allocations: 10.36 kB / 0.8024 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.6492, allocations: 17.47 kB / 0.8024 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.6497, allocations: 454.8 kB / 0.8028 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6497, allocations: 1.406 kB / 0.8028 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6497, allocations: 0 / 0.8028 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.6497, allocations: 0 / 0.8028 GB, free: 12.44 MB / 0.5919 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.0004998/0.6502, allocations: 367.3 kB / 0.8032 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6503, allocations: 12.06 kB / 0.8032 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.6505, allocations: 9.438 kB / 0.8032 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.6506, allocations: 171.9 kB / 0.8033 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.6506, allocations: 5.719 kB / 0.8033 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.6507, allocations: 8.125 kB / 0.8034 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.6508, allocations: 59.47 kB / 0.8034 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.6508, allocations: 0 / 0.8034 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6508, allocations: 0 / 0.8034 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6508, allocations: 3.078 kB / 0.8034 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.6509, allocations: 23.39 kB / 0.8034 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.6511, allocations: 161.2 kB / 0.8036 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.6512, allocations: 59.05 kB / 0.8036 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.6512, allocations: 18.45 kB / 0.8037 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.6627, allocations: 3.207 MB / 0.8068 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.6628, allocations: 31.94 kB / 0.8068 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.6628, allocations: 1.969 kB / 0.8068 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04188/0.7047, allocations: 15 MB / 0.8215 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.7047, allocations: 51.41 kB / 0.8215 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.7048, allocations: 96.84 kB / 0.8216 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.7048, allocations: 33.2 kB / 0.8216 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.7049, allocations: 80.14 kB / 0.8217 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.7049, allocations: 49.09 kB / 0.8218 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.705, allocations: 26.56 kB / 0.8218 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7051, allocations: 320.3 kB / 0.8221 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.7051, allocations: 19.47 kB / 0.8221 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.7052, allocations: 23.48 kB / 0.8221 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.7053, allocations: 71.59 kB / 0.8222 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.7053, allocations: 0 / 0.8222 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002067/0.7055, allocations: 106.7 kB / 0.8223 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7056, allocations: 7.5 kB / 0.8223 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7056, allocations: 4 kB / 0.8223 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7056, allocations: 3.984 kB / 0.8223 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7057, allocations: 23.75 kB / 0.8223 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.7057, allocations: 3.984 kB / 0.8224 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.7058, allocations: 3.188 kB / 0.8224 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.7058, allocations: 5.406 kB / 0.8224 GB, free: 5.172 MB / 0.5919 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.29e-05/0.7059, allocations: 119.7 kB / 0.8225 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.7059, allocations: 2.625 kB / 0.8225 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.7062, allocations: 131.5 kB / 0.8226 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7062, allocations: 2.281 kB / 0.8226 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7062, allocations: 0 / 0.8226 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7062, allocations: 0.875 kB / 0.8226 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.7064, allocations: 179.1 kB / 0.8228 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7064, allocations: 3.938 kB / 0.8228 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.7065, allocations: 28.11 kB / 0.8228 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7065, allocations: 4 kB / 0.8228 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.7066, allocations: 5.344 kB / 0.8228 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.7066, allocations: 3.062 kB / 0.8228 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7066, allocations: 0 / 0.8228 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.7069, allocations: 151.5 kB / 0.823 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.707, allocations: 90.3 kB / 0.8231 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.707, allocations: 3.562 kB / 0.8231 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.7071, allocations: 17.55 kB / 0.8231 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.7072, allocations: 6.516 kB / 0.8231 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.7072, allocations: 8.531 kB / 0.8231 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.7072, allocations: 75.28 kB / 0.8232 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.376e-06/0.7072, allocations: 0 / 0.8232 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002189/0.7094, allocations: 0.5714 MB / 0.8237 GB, free: 4.184 MB / 0.5919 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.003491/0.7129, allocations: 361.2 kB / 0.8241 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.7131, allocations: 65.61 kB / 0.8241 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.7131, allocations: 4 kB / 0.8241 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.7132, allocations: 34.73 kB / 0.8242 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.7134, allocations: 11.61 kB / 0.8242 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.714, allocations: 367.2 kB / 0.8245 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.7142, allocations: 0.6846 MB / 0.8252 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.7143, allocations: 19.06 kB / 0.8252 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.7143, allocations: 3.938 kB / 0.8252 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.02233/0.7366, allocations: 14.33 MB / 0.8392 GB, free: 4.336 MB / 0.6075 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)