Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.978/1.978, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 187.2 kB / 393.1 MB, free: 4.082 MB / 314.7 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.492/1.492, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 94.02 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003778, allocations: 13.95 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.5845, allocations: 121.3 MB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1431/0.7276, allocations: 125.1 MB / 1.163 GB, free: 400 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03232/0.76, allocations: 32.72 MB / 1.195 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.7603, allocations: 8 kB / 1.195 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.7606, allocations: 34.25 kB / 1.195 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.761, allocations: 92.17 kB / 1.195 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0205/0.7815, allocations: 5.29 MB / 1.2 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.7821, allocations: 306.1 kB / 1.201 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.7822, allocations: 10.22 kB / 1.201 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.7826, allocations: 137.8 kB / 1.201 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.7828, allocations: 91.89 kB / 1.201 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.7828, allocations: 8 kB / 1.201 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02557/0.8084, allocations: 10.45 MB / 1.211 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.8086, allocations: 39.88 kB / 1.211 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.8087, allocations: 105.4 kB / 1.211 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.8264, allocations: 6.171 MB / 1.217 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.8265, allocations: 0 / 1.217 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8265, allocations: 4 kB / 1.217 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.8265, allocations: 3.938 kB / 1.217 GB, free: 15.1 MB / 0.7917 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.003478/0.83, allocations: 1.146 MB / 1.218 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.83, allocations: 12.03 kB / 1.218 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.8311, allocations: 80.67 kB / 1.218 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.8314, allocations: 240 kB / 1.219 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.8314, allocations: 16.12 kB / 1.219 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.8314, allocations: 16 kB / 1.219 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.8325, allocations: 448.5 kB / 1.219 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8326, allocations: 4 kB / 1.219 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.8326, allocations: 4 kB / 1.219 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.8326, allocations: 4 kB / 1.219 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.8338, allocations: 0.6008 MB / 1.22 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.8349, allocations: 0.8784 MB / 1.221 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.8357, allocations: 255.3 kB / 1.221 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.8358, allocations: 78.36 kB / 1.221 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08316/0.919, allocations: 35.33 MB / 1.255 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.9191, allocations: 46.5 kB / 1.255 GB, free: 4.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.9191, allocations: 0 / 1.255 GB, free: 4.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.001706/0.9208, allocations: 415.1 kB / 1.256 GB, free: 4.25 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.9209, allocations: 55.41 kB / 1.256 GB, free: 4.184 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.921, allocations: 137.8 kB / 1.256 GB, free: 4.039 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.9211, allocations: 29.7 kB / 1.256 GB, free: 4.004 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.9211, allocations: 104.4 kB / 1.256 GB, free: 3.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/0.9212, allocations: 86.75 kB / 1.256 GB, free: 3.812 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.9212, allocations: 7.938 kB / 1.256 GB, free: 3.805 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9214, allocations: 334.8 kB / 1.257 GB, free: 3.469 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.9216, allocations: 83.94 kB / 1.257 GB, free: 3.387 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.9218, allocations: 125 kB / 1.257 GB, free: 3.246 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.9222, allocations: 218.7 kB / 1.257 GB, free: 3.016 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9222, allocations: 0 / 1.257 GB, free: 3.016 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006581/0.9228, allocations: 298.7 kB / 1.257 GB, free: 2.719 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.9229, allocations: 4 kB / 1.257 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9229, allocations: 4 kB / 1.257 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.9229, allocations: 4.156 kB / 1.257 GB, free: 2.707 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.9232, allocations: 83.88 kB / 1.257 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.9232, allocations: 0 / 1.257 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.9234, allocations: 27.72 kB / 1.257 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.9235, allocations: 27.97 kB / 1.257 GB, free: 2.57 MB / 0.823 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.0001347/0.9236, allocations: 125.8 kB / 1.257 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.9238, allocations: 15.81 kB / 1.257 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.9262, allocations: 2.338 MB / 1.26 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.9262, allocations: 11.98 kB / 1.26 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9262, allocations: 4 kB / 1.26 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.9262, allocations: 7.938 kB / 1.26 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.9296, allocations: 3.415 MB / 1.263 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.9296, allocations: 0 / 1.263 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.9298, allocations: 59.88 kB / 1.263 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9299, allocations: 4 kB / 1.263 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.9299, allocations: 11.94 kB / 1.263 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9299, allocations: 0 / 1.263 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9299, allocations: 3.984 kB / 1.263 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.9306, allocations: 0.5471 MB / 1.264 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.9308, allocations: 140.5 kB / 1.264 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.9308, allocations: 11.92 kB / 1.264 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.9311, allocations: 16 kB / 1.264 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.9311, allocations: 23.91 kB / 1.264 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.9312, allocations: 20 kB / 1.264 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.9312, allocations: 103.2 kB / 1.264 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.633e-06/0.9312, allocations: 0 / 1.264 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004903/0.9361, allocations: 1.628 MB / 1.266 GB, free: 9.93 MB / 0.8386 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.01128/0.9474, allocations: 1.898 MB / 1.267 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00074/0.9482, allocations: 317.2 kB / 1.268 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.9482, allocations: 4 kB / 1.268 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.9486, allocations: 240.5 kB / 1.268 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.9492, allocations: 68.17 kB / 1.268 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.9504, allocations: 0.7998 MB / 1.269 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.9507, allocations: 0.7661 MB / 1.27 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000574/0.9513, allocations: 405 kB / 1.27 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.9515, allocations: 47.42 kB / 1.27 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.9515, allocations: 0 / 1.27 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of Templates: time 0.536/1.487, allocations: 57 MB / 1.326 GB, free: 237.9 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1)