Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") 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.686/1.686, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.001123/0.001123, allocations: 178 kB / 382.3 MB, free: 14.84 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.484/1.484, allocations: 225.7 MB / 0.6617 GB, free: 7.172 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.0008249/0.0008251, allocations: 93.95 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003965, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7026, allocations: 119.2 MB / 1.022 GB, free: 58.06 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003436/0.7061, allocations: 2.101 MB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.7089, allocations: 1.75 MB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.7092, allocations: 7.156 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.7103, allocations: 314.8 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.7108, allocations: 188.2 kB / 1.027 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.7115, allocations: 243.6 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.7121, allocations: 383.3 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.7123, allocations: 71.75 kB / 1.027 GB, free: 55.19 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.7125, allocations: 138.6 kB / 1.027 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.7127, allocations: 158.2 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.7128, allocations: 7.188 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.713, allocations: 55.62 kB / 1.028 GB, free: 55.06 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.7132, allocations: 119 kB / 1.028 GB, free: 55.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.7134, allocations: 203.5 kB / 1.028 GB, free: 54.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.714, allocations: 476 kB / 1.028 GB, free: 54.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.714, allocations: 4 kB / 1.028 GB, free: 54.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/0.714, allocations: 0 / 1.028 GB, free: 54.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.714, allocations: 0.625 kB / 1.028 GB, free: 54.68 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001155/0.7152, allocations: 0.7603 MB / 1.029 GB, free: 54.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.7152, allocations: 8.938 kB / 1.029 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.7153, allocations: 58.81 kB / 1.029 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.7158, allocations: 434.5 kB / 1.03 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.7158, allocations: 12.5 kB / 1.03 GB, free: 53.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.7159, allocations: 17.06 kB / 1.03 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.7162, allocations: 134 kB / 1.03 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.7162, allocations: 2.375 kB / 1.03 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.7162, allocations: 0.6094 kB / 1.03 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.7162, allocations: 7.438 kB / 1.03 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.7164, allocations: 74.3 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000834/0.7172, allocations: 0.5735 MB / 1.03 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.7175, allocations: 120.5 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.7177, allocations: 46.17 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.7177, allocations: 3.375 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.7179, allocations: 122 kB / 1.031 GB, free: 53.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7179, allocations: 0 / 1.031 GB, free: 53.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0004675/0.7184, allocations: 232.4 kB / 1.031 GB, free: 52.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.7185, allocations: 83.98 kB / 1.031 GB, free: 52.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.7192, allocations: 0.6833 MB / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.7193, allocations: 33.14 kB / 1.032 GB, free: 52.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.7194, allocations: 259.8 kB / 1.032 GB, free: 52.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.7195, allocations: 41 kB / 1.032 GB, free: 52.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.7195, allocations: 6.938 kB / 1.032 GB, free: 52.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7196, allocations: 373.1 kB / 1.032 GB, free: 51.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.7197, allocations: 71.77 kB / 1.032 GB, free: 51.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.7199, allocations: 121.3 kB / 1.032 GB, free: 51.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.7201, allocations: 136.2 kB / 1.033 GB, free: 51.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7201, allocations: 7.875 kB / 1.033 GB, free: 51.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003866/0.7205, allocations: 264.1 kB / 1.033 GB, free: 51.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7206, allocations: 9.875 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7206, allocations: 0.5938 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7206, allocations: 9 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.7208, allocations: 34.55 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.7208, allocations: 3.031 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.7209, allocations: 28.22 kB / 1.033 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.721, allocations: 6.938 kB / 1.033 GB, free: 51.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002112/0.7212, allocations: 213 kB / 1.033 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.7212, allocations: 61.94 kB / 1.033 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-05/0.7213, allocations: 56.8 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7214, allocations: 3 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7214, allocations: 0 / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7214, allocations: 0.75 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.7217, allocations: 367.5 kB / 1.034 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7218, allocations: 5.766 kB / 1.034 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.7218, allocations: 10.36 kB / 1.034 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7218, allocations: 0 / 1.034 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.7218, allocations: 7.984 kB / 1.034 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.7218, allocations: 9.828 kB / 1.034 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7218, allocations: 0 / 1.034 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.7222, allocations: 216.1 kB / 1.034 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.7222, allocations: 140.6 kB / 1.034 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.7223, allocations: 10.34 kB / 1.034 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.7224, allocations: 9.125 kB / 1.034 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.7225, allocations: 24.55 kB / 1.034 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.7225, allocations: 4.688 kB / 1.034 GB, free: 50.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000449/0.723, allocations: 463.2 kB / 1.034 GB, free: 50.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.723, allocations: 0 / 1.034 GB, free: 50.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002991/0.7233, allocations: 62.8 kB / 1.034 GB, free: 50.61 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001005/0.7243, allocations: 495.3 kB / 1.035 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.7247, allocations: 154.6 kB / 1.035 GB, free: 50.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7247, allocations: 0 / 1.035 GB, free: 50.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.7249, allocations: 58.23 kB / 1.035 GB, free: 50.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.7254, allocations: 94.91 kB / 1.035 GB, free: 50.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7266, allocations: 0.9729 MB / 1.036 GB, free: 49.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.727, allocations: 0.8696 MB / 1.037 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.7271, allocations: 56.11 kB / 1.037 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.7272, allocations: 34.91 kB / 1.037 GB, free: 48.96 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.7272, allocations: 0 / 1.037 GB, free: 48.96 MB / 0.698 GB Notification: Performance of Templates: time 0.009206/0.7364, allocations: 4.064 MB / 1.041 GB, free: 48.66 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)