Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.858/1.858, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.00144/0.00144, allocations: 179.5 kB / 393.1 MB, free: 4.086 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.545/1.545, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0007616/0.0007614, allocations: 96.36 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 15.98 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6133, allocations: 121.3 MB / 1.041 GB, free: 58.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002834/0.6162, allocations: 2.103 MB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.6185, allocations: 1.759 MB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.6187, allocations: 5.156 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008696/0.6195, allocations: 313.7 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.6199, allocations: 188.5 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.6206, allocations: 247.6 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.621, allocations: 381.9 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.6212, allocations: 65.94 kB / 1.046 GB, free: 55.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.6214, allocations: 144.1 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.6216, allocations: 154.5 kB / 1.046 GB, free: 55.15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.6216, allocations: 5.656 kB / 1.046 GB, free: 55.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.6218, allocations: 61.03 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.622, allocations: 116.5 kB / 1.046 GB, free: 55.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.6221, allocations: 199.1 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.6227, allocations: 481.2 kB / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6227, allocations: 0.75 kB / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.574e-06/0.6227, allocations: 0 / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.6227, allocations: 1.719 kB / 1.047 GB, free: 54.76 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.001134/0.6239, allocations: 0.7575 MB / 1.048 GB, free: 54.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6239, allocations: 8.75 kB / 1.048 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.397e-05/0.624, allocations: 60.5 kB / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.6246, allocations: 440.6 kB / 1.048 GB, free: 53.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.6246, allocations: 12.25 kB / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.6246, allocations: 10.14 kB / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.625, allocations: 142.2 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.625, allocations: 0 / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.625, allocations: 4 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.625, allocations: 7.594 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.6252, allocations: 68.16 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.626, allocations: 0.5748 MB / 1.049 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.6263, allocations: 119.9 kB / 1.049 GB, free: 53.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/0.6264, allocations: 56.98 kB / 1.049 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6264, allocations: 1.625 kB / 1.049 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.6267, allocations: 117.2 kB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.6267, allocations: 3.938 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0004588/0.6271, allocations: 223.1 kB / 1.049 GB, free: 52.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.6272, allocations: 82.52 kB / 1.05 GB, free: 52.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007204/0.6279, allocations: 0.686 MB / 1.05 GB, free: 52.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.628, allocations: 32.48 kB / 1.05 GB, free: 52.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.6281, allocations: 264 kB / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.6282, allocations: 37.33 kB / 1.05 GB, free: 52.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.6282, allocations: 2.562 kB / 1.05 GB, free: 52.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6284, allocations: 370.7 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.6285, allocations: 78.19 kB / 1.051 GB, free: 51.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.6288, allocations: 123.8 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.6291, allocations: 133.4 kB / 1.051 GB, free: 51.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.6291, allocations: 3.938 kB / 1.051 GB, free: 51.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005077/0.6296, allocations: 266.3 kB / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6296, allocations: 13.78 kB / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6297, allocations: 4.969 kB / 1.051 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.6297, allocations: 3.281 kB / 1.051 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.6299, allocations: 29.2 kB / 1.051 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.6299, allocations: 1.625 kB / 1.051 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.6301, allocations: 29.25 kB / 1.052 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.6301, allocations: 9.281 kB / 1.052 GB, free: 51.66 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.0003029/0.6305, allocations: 219.3 kB / 1.052 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.6305, allocations: 58.84 kB / 1.052 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.6307, allocations: 58.28 kB / 1.052 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6307, allocations: 0.5625 kB / 1.052 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.6307, allocations: 0.9688 kB / 1.052 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6307, allocations: 0 / 1.052 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.6312, allocations: 371 kB / 1.052 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6312, allocations: 3.938 kB / 1.052 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.6312, allocations: 10.7 kB / 1.052 GB, free: 51.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.6312, allocations: 6.812 kB / 1.052 GB, free: 51.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.6313, allocations: 1.688 kB / 1.052 GB, free: 51.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6313, allocations: 5.125 kB / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6313, allocations: 0 / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.6317, allocations: 228.7 kB / 1.052 GB, free: 51.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.6318, allocations: 134 kB / 1.053 GB, free: 50.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.6319, allocations: 4.297 kB / 1.053 GB, free: 50.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.632, allocations: 20.11 kB / 1.053 GB, free: 50.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6321, allocations: 20.98 kB / 1.053 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.6321, allocations: 10.42 kB / 1.053 GB, free: 50.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006953/0.6328, allocations: 458.7 kB / 1.053 GB, free: 50.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6328, allocations: 0 / 1.053 GB, free: 50.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000385/0.6332, allocations: 67.25 kB / 1.053 GB, free: 50.68 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.001359/0.6346, allocations: 499.5 kB / 1.054 GB, free: 50.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.6351, allocations: 142.8 kB / 1.054 GB, free: 50.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6351, allocations: 0 / 1.054 GB, free: 50.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.6352, allocations: 58.42 kB / 1.054 GB, free: 50.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.6358, allocations: 90.23 kB / 1.054 GB, free: 50.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.6375, allocations: 0.976 MB / 1.055 GB, free: 49.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.638, allocations: 0.8609 MB / 1.056 GB, free: 49.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.6382, allocations: 54 kB / 1.056 GB, free: 49.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.6382, allocations: 28.14 kB / 1.056 GB, free: 49.04 MB / 0.698 GB Notification: Performance of SimCode: time 2.294e-06/0.6383, allocations: 0 / 1.056 GB, free: 49.04 MB / 0.698 GB Notification: Performance of Templates: time 0.009672/0.6479, allocations: 4.07 MB / 1.06 GB, free: 48.72 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)