Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 105.7 kB / 16.4 MB, free: 6.449 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.0009954/0.0009954, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.699/0.699, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.66 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 76.17 MB / 0.632 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002/0.1341, allocations: 1.256 MB / 0.6333 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4965/0.6306, allocations: 137.7 MB / 0.7677 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.6307, allocations: 1.094 kB / 0.7677 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.6308, allocations: 2.625 kB / 0.7677 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.6309, allocations: 5.094 kB / 0.7677 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.6322, allocations: 458.6 kB / 0.7682 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.6323, allocations: 37.28 kB / 0.7682 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.6323, allocations: 6.016 kB / 0.7682 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.6324, allocations: 20.52 kB / 0.7682 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.6324, allocations: 20.62 kB / 0.7682 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.6325, allocations: 1.719 kB / 0.7682 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.6338, allocations: 0.8295 MB / 0.7691 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.6338, allocations: 12.56 kB / 0.7691 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.6339, allocations: 18 kB / 0.7691 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.6345, allocations: 447.5 kB / 0.7695 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6345, allocations: 0.5625 kB / 0.7695 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6346, allocations: 0 / 0.7695 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.6346, allocations: 0.5625 kB / 0.7695 GB, free: 15.11 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.0005796/0.6352, allocations: 374.3 kB / 0.7699 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6352, allocations: 12.25 kB / 0.7699 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.6354, allocations: 10.11 kB / 0.7699 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.6355, allocations: 167.8 kB / 0.77 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6356, allocations: 5.281 kB / 0.7701 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.6356, allocations: 7.375 kB / 0.7701 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.6358, allocations: 55.73 kB / 0.7701 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.6358, allocations: 0 / 0.7701 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.6358, allocations: 5.094 kB / 0.7701 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.6358, allocations: 3.578 kB / 0.7701 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.6359, allocations: 16.06 kB / 0.7701 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.6361, allocations: 165.1 kB / 0.7703 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.6362, allocations: 51.67 kB / 0.7703 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.6363, allocations: 24.67 kB / 0.7704 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/0.6487, allocations: 3.21 MB / 0.7735 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.6488, allocations: 35.69 kB / 0.7735 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.6488, allocations: 0 / 0.7735 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04051/0.6893, allocations: 15 MB / 0.7882 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.6894, allocations: 58.72 kB / 0.7882 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.6894, allocations: 92.42 kB / 0.7883 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.6894, allocations: 29.14 kB / 0.7884 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.6895, allocations: 86.55 kB / 0.7884 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.6895, allocations: 47.02 kB / 0.7885 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.6896, allocations: 31.42 kB / 0.7885 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6897, allocations: 317.5 kB / 0.7888 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.6898, allocations: 27.8 kB / 0.7888 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.913e-05/0.6898, allocations: 28.92 kB / 0.7889 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.6899, allocations: 56.98 kB / 0.7889 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6899, allocations: 1.812 kB / 0.7889 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001969/0.6901, allocations: 104 kB / 0.789 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6902, allocations: 10.23 kB / 0.789 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6902, allocations: 1 kB / 0.789 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6902, allocations: 0 / 0.789 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.6903, allocations: 26.86 kB / 0.7891 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.6903, allocations: 4 kB / 0.7891 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.6904, allocations: 2.531 kB / 0.7891 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6904, allocations: 6.625 kB / 0.7891 GB, free: 10.36 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 8.837e-05/0.6905, allocations: 118.8 kB / 0.7892 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.6905, allocations: 6.438 kB / 0.7892 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.6908, allocations: 129.9 kB / 0.7893 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6908, allocations: 2.406 kB / 0.7893 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6908, allocations: 3.625 kB / 0.7893 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6908, allocations: 3.984 kB / 0.7893 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.6909, allocations: 178 kB / 0.7895 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.691, allocations: 0 / 0.7895 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.6911, allocations: 23.34 kB / 0.7895 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.6911, allocations: 3.984 kB / 0.7895 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.6911, allocations: 2.5 kB / 0.7895 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6911, allocations: 0 / 0.7895 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6911, allocations: 0 / 0.7895 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.6914, allocations: 165.7 kB / 0.7897 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.6915, allocations: 86.84 kB / 0.7898 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.6915, allocations: 6.609 kB / 0.7898 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.6916, allocations: 11.98 kB / 0.7898 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.6916, allocations: 8.734 kB / 0.7898 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.6917, allocations: 10.19 kB / 0.7898 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.6917, allocations: 81.98 kB / 0.7899 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6917, allocations: 0 / 0.7899 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001948/0.6937, allocations: 0.5627 MB / 0.7904 GB, free: 9.66 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.002716/0.6964, allocations: 346.7 kB / 0.7908 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.6966, allocations: 70.02 kB / 0.7908 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6966, allocations: 2.312 kB / 0.7908 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-05/0.6966, allocations: 35.98 kB / 0.7909 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.6968, allocations: 12.41 kB / 0.7909 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.6974, allocations: 354.4 kB / 0.7912 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.6976, allocations: 0.6849 MB / 0.7919 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.759e-05/0.6977, allocations: 26.81 kB / 0.7919 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.6978, allocations: 18.5 kB / 0.7919 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of SimCode: time 1.81e-07/0.6978, allocations: 1.203 kB / 0.7919 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of Templates: time 0.03502/0.7328, allocations: 24.27 MB / 0.8156 GB, free: 5.773 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)