Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 174.3 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5285/0.5285, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007335/0.0007336, allocations: 89.94 kB / 425.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 12 kB / 0.4955 GB, free: 4.566 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2763, allocations: 71.33 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1158/0.3921, allocations: 125.1 MB / 0.6873 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2737/0.6659, allocations: 32.73 MB / 0.7193 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.6661, allocations: 0 / 0.7193 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.6664, allocations: 40.84 kB / 0.7193 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.6666, allocations: 90.41 kB / 0.7194 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01429/0.6809, allocations: 5.291 MB / 0.7246 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.6813, allocations: 310 kB / 0.7249 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.6813, allocations: 15.36 kB / 0.7249 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.6816, allocations: 134 kB / 0.725 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.6817, allocations: 98.39 kB / 0.7251 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.6818, allocations: 6.812 kB / 0.7251 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/0.7002, allocations: 10.44 MB / 0.7353 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.7004, allocations: 34.55 kB / 0.7354 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.7006, allocations: 107.2 kB / 0.7355 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.714, allocations: 6.178 MB / 0.7415 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.714, allocations: 0 / 0.7415 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.714e-06/0.714, allocations: 0 / 0.7415 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.714, allocations: 0 / 0.7415 GB, free: 11.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.002956/0.717, allocations: 1.147 MB / 0.7426 GB, free: 11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7171, allocations: 12.53 kB / 0.7426 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009696/0.718, allocations: 85.14 kB / 0.7427 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.7183, allocations: 232.9 kB / 0.7429 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7183, allocations: 11.06 kB / 0.7429 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.7184, allocations: 17.06 kB / 0.743 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.7194, allocations: 455.5 kB / 0.7434 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7194, allocations: 4 kB / 0.7434 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.7195, allocations: 6.656 kB / 0.7434 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7195, allocations: 4.875 kB / 0.7434 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.7206, allocations: 0.5913 MB / 0.744 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.7216, allocations: 0.8885 MB / 0.7448 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.7223, allocations: 248 kB / 0.7451 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.7224, allocations: 74.8 kB / 0.7452 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07427/0.7967, allocations: 35.33 MB / 0.7797 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.7967, allocations: 37.94 kB / 0.7797 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 1.654e-06/0.7968, allocations: 0 / 0.7797 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.00154/0.7983, allocations: 417.5 kB / 0.7801 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.7983, allocations: 59.39 kB / 0.7802 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7985, allocations: 137 kB / 0.7803 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.7985, allocations: 29.14 kB / 0.7803 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.7986, allocations: 110.8 kB / 0.7804 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.7986, allocations: 87.42 kB / 0.7805 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.7987, allocations: 2.125 kB / 0.7805 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7988, allocations: 333 kB / 0.7808 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.7989, allocations: 80.64 kB / 0.7809 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.7991, allocations: 131.2 kB / 0.781 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.7995, allocations: 216.1 kB / 0.7812 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7995, allocations: 0 / 0.7812 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006168/0.8001, allocations: 303.3 kB / 0.7815 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8002, allocations: 8 kB / 0.7815 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8002, allocations: 1.969 kB / 0.7815 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8002, allocations: 4 kB / 0.7815 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.8005, allocations: 83.5 kB / 0.7816 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8005, allocations: 0 / 0.7816 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.8007, allocations: 27.27 kB / 0.7816 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.8007, allocations: 22.42 kB / 0.7817 GB, free: 9.176 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001151/0.8009, allocations: 136 kB / 0.7818 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.801, allocations: 19.81 kB / 0.7818 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.8031, allocations: 2.328 MB / 0.7841 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.8031, allocations: 10.98 kB / 0.7841 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8031, allocations: 4 kB / 0.7841 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.8031, allocations: 3.984 kB / 0.7841 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.8059, allocations: 3.427 MB / 0.7874 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8059, allocations: 4 kB / 0.7874 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.8062, allocations: 57.3 kB / 0.7875 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8062, allocations: 0 / 0.7875 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.8062, allocations: 6.938 kB / 0.7875 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.8062, allocations: 5.797 kB / 0.7875 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8062, allocations: 11.91 kB / 0.7875 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.8069, allocations: 0.5342 MB / 0.788 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.8071, allocations: 145.7 kB / 0.7882 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.8071, allocations: 7.25 kB / 0.7882 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.8073, allocations: 23.17 kB / 0.7882 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.8074, allocations: 14.98 kB / 0.7882 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.8074, allocations: 15.36 kB / 0.7882 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.282e-05/0.8075, allocations: 103.5 kB / 0.7883 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8075, allocations: 0 / 0.7883 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004034/0.8115, allocations: 1.621 MB / 0.7899 GB, free: 3.039 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007529/0.8191, allocations: 1.904 MB / 0.7918 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.8196, allocations: 323.8 kB / 0.7921 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8196, allocations: 0 / 0.7921 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.8199, allocations: 247.1 kB / 0.7923 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.8204, allocations: 57.41 kB / 0.7924 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.8215, allocations: 0.7983 MB / 0.7932 GB, free: 200 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.8218, allocations: 0.7661 MB / 0.7939 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005387/0.8224, allocations: 401.9 kB / 0.7943 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.8225, allocations: 53.78 kB / 0.7943 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of SimCode: time 2.1e-07/0.8225, allocations: 0 / 0.7943 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of Templates: time 0.07092/0.8935, allocations: 57 MB / 0.85 GB, free: 6.008 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)