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.007935/0.007935, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001798/0.001798, allocations: 195 kB / 16.67 MB, free: 5.93 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8834/0.8834, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 62.19 kB / 0.5856 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1808, allocations: 80.92 MB / 0.6646 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00241/0.1833, allocations: 1.261 MB / 0.6658 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5814/0.7648, allocations: 137.7 MB / 0.8003 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.7648, allocations: 0.7812 kB / 0.8003 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.7649, allocations: 3.938 kB / 0.8003 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.765, allocations: 1.219 kB / 0.8003 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.7666, allocations: 470 kB / 0.8008 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.7667, allocations: 41.23 kB / 0.8008 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.7667, allocations: 3.797 kB / 0.8008 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.7668, allocations: 24.11 kB / 0.8009 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.7669, allocations: 22.08 kB / 0.8009 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.7669, allocations: 1.406 kB / 0.8009 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.7685, allocations: 0.8297 MB / 0.8017 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.7685, allocations: 7.703 kB / 0.8017 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.7685, allocations: 20.69 kB / 0.8017 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.7692, allocations: 452.1 kB / 0.8021 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7692, allocations: 1.406 kB / 0.8021 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7692, allocations: 4 kB / 0.8021 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7692, allocations: 0 / 0.8021 GB, free: 12.39 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.000602/0.7698, allocations: 368.3 kB / 0.8025 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.7699, allocations: 10.55 kB / 0.8025 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.7701, allocations: 12.08 kB / 0.8025 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.7702, allocations: 164.3 kB / 0.8027 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.7703, allocations: 5.844 kB / 0.8027 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.7703, allocations: 11.39 kB / 0.8027 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.7706, allocations: 65.66 kB / 0.8028 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.7706, allocations: 0 / 0.8028 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.7706, allocations: 1.375 kB / 0.8028 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.7706, allocations: 0 / 0.8028 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.892e-05/0.7707, allocations: 18.88 kB / 0.8028 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.771, allocations: 163.9 kB / 0.8029 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.7712, allocations: 54.16 kB / 0.803 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.7712, allocations: 19.8 kB / 0.803 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.7832, allocations: 3.214 MB / 0.8061 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.7833, allocations: 31.94 kB / 0.8062 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.7833, allocations: 0 / 0.8062 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04443/0.8278, allocations: 15 MB / 0.8208 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.8278, allocations: 54.09 kB / 0.8209 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.8279, allocations: 89.86 kB / 0.821 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.828, allocations: 31.45 kB / 0.821 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.828, allocations: 80.14 kB / 0.8211 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.8281, allocations: 42.67 kB / 0.8211 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.8282, allocations: 31.2 kB / 0.8211 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8283, allocations: 324.5 kB / 0.8214 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.8284, allocations: 23.89 kB / 0.8215 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.8284, allocations: 21.78 kB / 0.8215 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.8286, allocations: 72 kB / 0.8216 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.8286, allocations: 0 / 0.8216 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002632/0.8288, allocations: 103 kB / 0.8217 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.8289, allocations: 5.031 kB / 0.8217 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8289, allocations: 0 / 0.8217 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.8289, allocations: 2.719 kB / 0.8217 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.829, allocations: 32.73 kB / 0.8217 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.8291, allocations: 1.875 kB / 0.8217 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.8291, allocations: 3.75 kB / 0.8217 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.8291, allocations: 5.625 kB / 0.8217 GB, free: 5.102 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 0.0001039/0.8292, allocations: 115 kB / 0.8218 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.8293, allocations: 2.594 kB / 0.8218 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.8296, allocations: 131.6 kB / 0.8219 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8297, allocations: 3.938 kB / 0.822 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8297, allocations: 2.75 kB / 0.822 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8297, allocations: 0 / 0.822 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.8299, allocations: 177.1 kB / 0.8221 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8299, allocations: 2.406 kB / 0.8221 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.8301, allocations: 25.2 kB / 0.8221 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.8301, allocations: 2.125 kB / 0.8222 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.8301, allocations: 6.375 kB / 0.8222 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8301, allocations: 4 kB / 0.8222 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8301, allocations: 0 / 0.8222 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.8305, allocations: 154.5 kB / 0.8223 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/0.8306, allocations: 89.98 kB / 0.8224 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.8306, allocations: 7.25 kB / 0.8224 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.8308, allocations: 12.02 kB / 0.8224 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.8308, allocations: 12.7 kB / 0.8224 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.8308, allocations: 10.12 kB / 0.8224 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.8309, allocations: 75.28 kB / 0.8225 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8309, allocations: 0 / 0.8225 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003129/0.834, allocations: 0.5674 MB / 0.8231 GB, free: 4.215 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.005175/0.8392, allocations: 354.6 kB / 0.8234 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.8394, allocations: 65.55 kB / 0.8235 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8395, allocations: 0 / 0.8235 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.8395, allocations: 38.86 kB / 0.8235 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.8398, allocations: 11.56 kB / 0.8235 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.8405, allocations: 347.3 kB / 0.8238 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.8409, allocations: 0.6884 MB / 0.8245 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.744e-05/0.841, allocations: 24.53 kB / 0.8245 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.841, allocations: 19.12 kB / 0.8246 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.841, allocations: 0 / 0.8246 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of Templates: time 0.04334/0.8844, allocations: 24.26 MB / 0.8482 GB, free: 10.43 MB / 0.6231 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)