Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 297.4 MB / 312.6 MB, free: 2.91 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.0009757/0.0009758, allocations: 200.6 kB / 382.3 MB, free: 14.81 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.291/1.291, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008524/0.0008526, allocations: 100.2 kB / 0.7789 GB, free: 46.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5641, allocations: 119.2 MB / 1.022 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001516/0.5657, allocations: 1.148 MB / 1.023 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005131/0.5662, allocations: 375 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.5663, allocations: 0 / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.5663, allocations: 0 / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.6e-05/0.5663, allocations: 6.719 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.5665, allocations: 9.656 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.5665, allocations: 25.19 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.5666, allocations: 6.688 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.5667, allocations: 13.5 kB / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.5668, allocations: 8.766 kB / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.5668, allocations: 1.156 kB / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.5668, allocations: 2.938 kB / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.5668, allocations: 4.203 kB / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.5669, allocations: 35.05 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.007e-05/0.5669, allocations: 19.45 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5669, allocations: 0 / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5669, allocations: 2.656 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.567, allocations: 0 / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003063/0.5673, allocations: 332.8 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5673, allocations: 10.47 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.5673, allocations: 2.656 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.5674, allocations: 173.1 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5674, allocations: 7.156 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.5674, allocations: 2.266 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5676, allocations: 49.16 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5676, allocations: 0 / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.5676, allocations: 3.938 kB / 1.024 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.5676, allocations: 2.781 kB / 1.024 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.5677, allocations: 25.94 kB / 1.024 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.5679, allocations: 249.2 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/0.568, allocations: 38.3 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.5681, allocations: 24.05 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.5681, allocations: 6.562 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.5681, allocations: 30.56 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5681, allocations: 1.875 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002079/0.5683, allocations: 66.7 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.5684, allocations: 56.25 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.5684, allocations: 105.4 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.5684, allocations: 26.92 kB / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.5685, allocations: 83.55 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.5685, allocations: 9.016 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.5685, allocations: 4 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.5685, allocations: 310.8 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.5686, allocations: 13.27 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.5686, allocations: 12.09 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.6e-05/0.5687, allocations: 31.8 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5687, allocations: 0 / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/0.5688, allocations: 59.72 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5689, allocations: 12.58 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5689, allocations: 1.375 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.5689, allocations: 3.094 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.569, allocations: 6.641 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.569, allocations: 1.375 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.569, allocations: 4.016 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.569, allocations: 0 / 1.026 GB, free: 55.38 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 4.731e-05/0.5691, allocations: 114.5 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.5691, allocations: 7.516 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.5691, allocations: 13.61 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.5691, allocations: 0 / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5691, allocations: 0.75 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5691, allocations: 1.375 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5693, allocations: 159 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5693, allocations: 2.125 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.5693, allocations: 5.344 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5693, allocations: 1.375 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.5693, allocations: 0.5625 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5693, allocations: 4.656 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5693, allocations: 1.375 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.5695, allocations: 164.1 kB / 1.026 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.5695, allocations: 83.14 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5695, allocations: 2.031 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.5696, allocations: 9 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.5696, allocations: 1.312 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5697, allocations: 2.031 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.5697, allocations: 84.91 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5697, allocations: 1.375 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001837/0.5699, allocations: 2.75 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 9.344e-05/0.57, allocations: 104.5 kB / 1.026 GB, free: 54.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.5701, allocations: 28.62 kB / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5701, allocations: 0 / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.5702, allocations: 16.78 kB / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.5704, allocations: 10.91 kB / 1.026 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.5706, allocations: 133.9 kB / 1.026 GB, free: 54.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.5707, allocations: 0.6782 MB / 1.027 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.5707, allocations: 2.156 kB / 1.027 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.5708, allocations: 9.266 kB / 1.027 GB, free: 53.79 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5708, allocations: 0 / 1.027 GB, free: 53.79 MB / 0.698 GB Notification: Performance of Templates: time 0.001934/0.5727, allocations: 278.7 kB / 1.027 GB, free: 53.74 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)