Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.626/1.626, allocations: 291.7 MB / 306.8 MB, free: 7.668 MB / 234.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.0009282/0.0009282, allocations: 174.3 kB / 375.4 MB, free: 5.09 MB / 298.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.347/1.347, allocations: 225.7 MB / 0.6538 GB, free: 13.57 MB / 490.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.0008454/0.0008456, allocations: 98.55 kB / 0.7699 GB, free: 50.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006335/0.0006337, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6638, allocations: 118.1 MB / 1.011 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02112/0.685, allocations: 26.94 MB / 1.037 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.008785/0.6938, allocations: 6.49 MB / 1.044 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.6951, allocations: 39.38 kB / 1.044 GB, free: 41.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.6964, allocations: 0.5556 MB / 1.044 GB, free: 41.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.6995, allocations: 1.165 MB / 1.045 GB, free: 41.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.7022, allocations: 0.9748 MB / 1.046 GB, free: 40.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.7056, allocations: 2.771 MB / 1.049 GB, free: 39.42 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.7067, allocations: 0.7014 MB / 1.05 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.7084, allocations: 0.9094 MB / 1.05 GB, free: 38.81 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.7094, allocations: 0.7529 MB / 1.051 GB, free: 38.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.7096, allocations: 37.44 kB / 1.051 GB, free: 38.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.7111, allocations: 0.4923 MB / 1.052 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.7113, allocations: 241 kB / 1.052 GB, free: 38.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.7116, allocations: 228.3 kB / 1.052 GB, free: 38.12 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.7128, allocations: 1.041 MB / 1.053 GB, free: 37.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.7128, allocations: 0 / 1.053 GB, free: 37.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7128, allocations: 0 / 1.053 GB, free: 37.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.506e-05/0.7128, allocations: 0 / 1.053 GB, free: 37.83 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002297/0.7151, allocations: 1.375 MB / 1.055 GB, free: 36.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.7152, allocations: 8.375 kB / 1.055 GB, free: 36.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.7183, allocations: 0.6299 MB / 1.055 GB, free: 36.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.7195, allocations: 0.8134 MB / 1.056 GB, free: 36.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.7196, allocations: 62.94 kB / 1.056 GB, free: 36.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7197, allocations: 74.88 kB / 1.056 GB, free: 36.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.7219, allocations: 1.109 MB / 1.057 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.7219, allocations: 5.25 kB / 1.057 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.722, allocations: 33.83 kB / 1.057 GB, free: 35.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.722, allocations: 18.81 kB / 1.057 GB, free: 35.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.7248, allocations: 1.015 MB / 1.058 GB, free: 35.41 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.7295, allocations: 4.978 MB / 1.063 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.7323, allocations: 0.9558 MB / 1.064 GB, free: 31.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.7336, allocations: 496.6 kB / 1.064 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000992/0.7346, allocations: 1.605 MB / 1.066 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/0.7362, allocations: 0.5875 MB / 1.067 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=61): time 2.936e-06/0.7362, allocations: 0 / 1.067 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=61): time 0.004324/0.7405, allocations: 1.521 MB / 1.068 GB, free: 28.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.7406, allocations: 58.03 kB / 1.068 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.7416, allocations: 1.11 MB / 1.069 GB, free: 28.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.7417, allocations: 40.14 kB / 1.069 GB, free: 28.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.7421, allocations: 0.5646 MB / 1.07 GB, free: 27.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.7422, allocations: 207.2 kB / 1.07 GB, free: 27.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.7422, allocations: 15.78 kB / 1.07 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.7423, allocations: 332.5 kB / 1.07 GB, free: 27.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.7437, allocations: 458 kB / 1.071 GB, free: 27.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.7452, allocations: 0.7386 MB / 1.072 GB, free: 26.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.7477, allocations: 1.147 MB / 1.073 GB, free: 26.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.7477, allocations: 2.906 kB / 1.073 GB, free: 26.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003093/0.7508, allocations: 1.298 MB / 1.074 GB, free: 25.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7509, allocations: 6.625 kB / 1.074 GB, free: 25.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.7509, allocations: 9.625 kB / 1.074 GB, free: 25.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.7509, allocations: 9.594 kB / 1.074 GB, free: 25.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.752, allocations: 278.5 kB / 1.074 GB, free: 25.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.7521, allocations: 13.19 kB / 1.074 GB, free: 25.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.7532, allocations: 214.8 kB / 1.074 GB, free: 25.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.7533, allocations: 42.8 kB / 1.074 GB, free: 25.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003728/0.7537, allocations: 298.1 kB / 1.075 GB, free: 25.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.7538, allocations: 124.1 kB / 1.075 GB, free: 25.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.7571, allocations: 1.382 MB / 1.076 GB, free: 24.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.7571, allocations: 9.875 kB / 1.076 GB, free: 24.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.7571, allocations: 3.344 kB / 1.076 GB, free: 24.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.7571, allocations: 3.562 kB / 1.076 GB, free: 24.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/0.7614, allocations: 2.385 MB / 1.079 GB, free: 23.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7614, allocations: 7.875 kB / 1.079 GB, free: 23.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009143/0.7623, allocations: 199.1 kB / 1.079 GB, free: 23.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.7624, allocations: 2.781 kB / 1.079 GB, free: 23.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.7624, allocations: 26.66 kB / 1.079 GB, free: 23.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.7624, allocations: 4.375 kB / 1.079 GB, free: 23.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7624, allocations: 3.219 kB / 1.079 GB, free: 23.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.7667, allocations: 2.007 MB / 1.081 GB, free: 23.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.7671, allocations: 289.5 kB / 1.081 GB, free: 22.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.7672, allocations: 17.5 kB / 1.081 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/0.7681, allocations: 127.2 kB / 1.081 GB, free: 22.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.7682, allocations: 50.86 kB / 1.081 GB, free: 22.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.7683, allocations: 37.95 kB / 1.081 GB, free: 22.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008025/0.7691, allocations: 0.7583 MB / 1.082 GB, free: 22.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7691, allocations: 2.875 kB / 1.082 GB, free: 22.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00108/0.7702, allocations: 345.5 kB / 1.082 GB, free: 22.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.7717, allocations: 0.7183 MB / 1.083 GB, free: 22.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00289/0.7746, allocations: 1.12 MB / 1.084 GB, free: 21.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7746, allocations: 4 kB / 1.084 GB, free: 21.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.776, allocations: 0.5863 MB / 1.085 GB, free: 21.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.7781, allocations: 445.3 kB / 1.085 GB, free: 21.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.7821, allocations: 2.706 MB / 1.088 GB, free: 20.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.7825, allocations: 1.109 MB / 1.089 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009679/0.7835, allocations: 251.2 kB / 1.089 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.7838, allocations: 106 kB / 1.089 GB, free: 19.47 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/0.7838, allocations: 0 / 1.089 GB, free: 19.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.02739/0.8112, allocations: 18.92 MB / 1.108 GB, free: 17.96 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)