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.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.652/1.652, allocations: 291.7 MB / 306.8 MB, free: 7.676 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.0009333/0.0009333, allocations: 184.4 kB / 375.4 MB, free: 5.105 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.326/1.326, allocations: 225.7 MB / 0.6538 GB, free: 13.6 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.0008166/0.0008165, allocations: 103.1 kB / 0.7699 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 8 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5566, allocations: 118.1 MB / 1.011 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1754/0.7321, allocations: 176.6 MB / 1.183 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.7422, allocations: 6.509 MB / 1.19 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.7439, allocations: 38.88 kB / 1.19 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.7454, allocations: 473.9 kB / 1.19 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.7504, allocations: 1.656 MB / 1.192 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.7539, allocations: 1.072 MB / 1.193 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00522/0.7592, allocations: 3.209 MB / 1.196 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.7608, allocations: 0.7444 MB / 1.197 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.7633, allocations: 0.9524 MB / 1.198 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.7649, allocations: 0.7457 MB / 1.198 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.7651, allocations: 43.34 kB / 1.198 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.7688, allocations: 1.215 MB / 1.2 GB, free: 9.703 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.7692, allocations: 304.8 kB / 1.2 GB, free: 9.594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.7697, allocations: 243.5 kB / 1.2 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.7718, allocations: 1.626 MB / 1.202 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7718, allocations: 1.719 kB / 1.202 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7718, allocations: 0 / 1.202 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.7719, allocations: 0 / 1.202 GB, free: 9.066 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003227/0.7751, allocations: 1.417 MB / 1.203 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7752, allocations: 10.84 kB / 1.203 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.778, allocations: 0.6005 MB / 1.204 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.7801, allocations: 1.007 MB / 1.205 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/0.7812, allocations: 314.8 kB / 1.205 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.7814, allocations: 70.25 kB / 1.205 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.784, allocations: 1.173 MB / 1.206 GB, free: 6.926 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.784, allocations: 3.938 kB / 1.206 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/0.7841, allocations: 27.06 kB / 1.206 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.7842, allocations: 30.38 kB / 1.206 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003333/0.7875, allocations: 1.325 MB / 1.208 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006075/0.7936, allocations: 2.97 MB / 1.21 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.7955, allocations: 0.7344 MB / 1.211 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000907/0.7964, allocations: 452.8 kB / 1.212 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/0.7974, allocations: 1.025 MB / 1.213 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.7985, allocations: 0.5311 MB / 1.213 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=59): time 2.665e-06/0.7985, allocations: 4 kB / 1.213 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59): time 0.003443/0.802, allocations: 1.289 MB / 1.214 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.8021, allocations: 112 kB / 1.214 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.8045, allocations: 1.211 MB / 1.216 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.8046, allocations: 39.73 kB / 1.216 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.805, allocations: 433.3 kB / 1.216 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.8053, allocations: 198.2 kB / 1.216 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.8053, allocations: 14.84 kB / 1.216 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8054, allocations: 332.1 kB / 1.217 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.8068, allocations: 497.6 kB / 1.217 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.8084, allocations: 0.6385 MB / 1.218 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.8106, allocations: 0.9931 MB / 1.219 GB, free: 388 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8106, allocations: 1.062 kB / 1.219 GB, free: 388 kB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003397/0.814, allocations: 1.308 MB / 1.22 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.8141, allocations: 41.39 kB / 1.22 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8141, allocations: 4.031 kB / 1.22 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.8141, allocations: 13.5 kB / 1.22 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.8152, allocations: 215.6 kB / 1.22 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.8152, allocations: 5.797 kB / 1.22 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.817, allocations: 301.8 kB / 1.221 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.8171, allocations: 40.34 kB / 1.221 GB, free: 15.78 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0005855/0.8177, allocations: 325.4 kB / 1.221 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.8179, allocations: 116.5 kB / 1.221 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.8203, allocations: 1.073 MB / 1.222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.8203, allocations: 19.33 kB / 1.222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.8204, allocations: 4.75 kB / 1.222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8204, allocations: 3.984 kB / 1.222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/0.8259, allocations: 3.224 MB / 1.225 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.826, allocations: 8 kB / 1.225 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.8266, allocations: 126.6 kB / 1.225 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.79e-05/0.8266, allocations: 13.97 kB / 1.225 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.8267, allocations: 27.61 kB / 1.225 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.8267, allocations: 17.62 kB / 1.225 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.8267, allocations: 8.938 kB / 1.225 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.829, allocations: 1.334 MB / 1.227 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/0.8296, allocations: 333.7 kB / 1.227 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.8299, allocations: 21.78 kB / 1.227 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.8311, allocations: 131.7 kB / 1.227 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.8312, allocations: 66.38 kB / 1.227 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.8313, allocations: 40.44 kB / 1.227 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001709/0.833, allocations: 0.8777 MB / 1.228 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.8e-07/0.833, allocations: 0 / 1.228 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001145/0.8342, allocations: 296.5 kB / 1.228 GB, free: 8.938 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0007977/0.835, allocations: 361.5 kB / 1.229 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002658/0.8376, allocations: 1.081 MB / 1.23 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.8377, allocations: 4 kB / 1.23 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000995/0.8387, allocations: 0.5445 MB / 1.23 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/0.8425, allocations: 0.5436 MB / 1.231 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.8465, allocations: 2.318 MB / 1.233 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.8473, allocations: 1.072 MB / 1.234 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001324/0.8486, allocations: 284.8 kB / 1.234 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.8489, allocations: 84.81 kB / 1.235 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.8489, allocations: 0.75 kB / 1.235 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of Templates: time 0.0325/0.8814, allocations: 20.88 MB / 1.255 GB, free: 192 kB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)