Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.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.001018/0.001018, allocations: 189.6 kB / 330.8 MB, free: 464 kB / 250.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.562/1.562, allocations: 225.7 MB / 0.6016 GB, free: 1.543 MB / 426.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.0009075/0.0009076, allocations: 111.5 kB / 0.709 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1645, allocations: 109.2 MB / 0.9327 GB, free: 6.262 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5456/0.7102, allocations: 184.3 MB / 1.113 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.7209, allocations: 9.275 MB / 1.122 GB, free: 13.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.7225, allocations: 38.91 kB / 1.122 GB, free: 13.19 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.724, allocations: 0.5622 MB / 1.122 GB, free: 12.72 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005526/0.7295, allocations: 2.197 MB / 1.124 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.7327, allocations: 1.285 MB / 1.126 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004318/0.737, allocations: 3.692 MB / 1.129 GB, free: 8.051 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.7383, allocations: 0.7547 MB / 1.13 GB, free: 7.586 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.74, allocations: 0.9558 MB / 1.131 GB, free: 7.086 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.7418, allocations: 0.858 MB / 1.132 GB, free: 6.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.742, allocations: 41.75 kB / 1.132 GB, free: 6.598 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.7459, allocations: 2.171 MB / 1.134 GB, free: 5.387 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.7463, allocations: 312.8 kB / 1.134 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000645/0.747, allocations: 0.5496 MB / 1.135 GB, free: 4.805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.7506, allocations: 2.422 MB / 1.137 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7507, allocations: 0 / 1.137 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7507, allocations: 0 / 1.137 GB, free: 3.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.7507, allocations: 0 / 1.137 GB, free: 3.246 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003402/0.7541, allocations: 1.415 MB / 1.139 GB, free: 2.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7541, allocations: 15.89 kB / 1.139 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.7571, allocations: 0.6015 MB / 1.139 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.7593, allocations: 1.009 MB / 1.14 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0012/0.7605, allocations: 314.5 kB / 1.14 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.7606, allocations: 75.92 kB / 1.141 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.7632, allocations: 1.164 MB / 1.142 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.7633, allocations: 7.938 kB / 1.142 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.7634, allocations: 31.98 kB / 1.142 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.7634, allocations: 33.3 kB / 1.142 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.7667, allocations: 1.321 MB / 1.143 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005771/0.7725, allocations: 3.08 MB / 1.146 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.7743, allocations: 0.7319 MB / 1.147 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.7751, allocations: 448.4 kB / 1.147 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008256/0.776, allocations: 1.025 MB / 1.148 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.777, allocations: 0.5447 MB / 1.149 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.094e-06/0.777, allocations: 0 / 1.149 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.003039/0.7801, allocations: 1.279 MB / 1.15 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.7802, allocations: 119.2 kB / 1.15 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.7821, allocations: 1.207 MB / 1.151 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.401e-05/0.7822, allocations: 45.7 kB / 1.151 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.7826, allocations: 429.5 kB / 1.152 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.7828, allocations: 193.1 kB / 1.152 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.7828, allocations: 16 kB / 1.152 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7829, allocations: 326 kB / 1.152 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.7843, allocations: 496.9 kB / 1.153 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.7858, allocations: 0.6468 MB / 1.153 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.788, allocations: 0.9923 MB / 1.154 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.788, allocations: 4 kB / 1.154 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003207/0.7912, allocations: 1.315 MB / 1.156 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.7913, allocations: 33.7 kB / 1.156 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.7913, allocations: 0 / 1.156 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7913, allocations: 11.98 kB / 1.156 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7923, allocations: 219.8 kB / 1.156 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.7924, allocations: 7.938 kB / 1.156 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.794, allocations: 314.8 kB / 1.156 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/0.7941, allocations: 31.98 kB / 1.156 GB, free: 176 kB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005148/0.7947, allocations: 337.4 kB / 1.157 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.7948, allocations: 114.6 kB / 1.157 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.797, allocations: 1.055 MB / 1.158 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.797, allocations: 7.938 kB / 1.158 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.797, allocations: 4 kB / 1.158 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.797, allocations: 3.984 kB / 1.158 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/0.8019, allocations: 3.238 MB / 1.161 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.8019, allocations: 4 kB / 1.161 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.8026, allocations: 132 kB / 1.161 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.8026, allocations: 8 kB / 1.161 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.8027, allocations: 27.98 kB / 1.161 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.8027, allocations: 19.92 kB / 1.161 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.8027, allocations: 11.94 kB / 1.161 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.8048, allocations: 1.317 MB / 1.162 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.8052, allocations: 343.4 kB / 1.163 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.8054, allocations: 24 kB / 1.163 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.8066, allocations: 123.9 kB / 1.163 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8067, allocations: 71.69 kB / 1.163 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.8068, allocations: 39.97 kB / 1.163 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00151/0.8083, allocations: 0.8753 MB / 1.164 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8083, allocations: 0 / 1.164 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009462/0.8093, allocations: 307.8 kB / 1.164 GB, free: 7.789 MB / 0.7292 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 (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.0006344/0.8099, allocations: 342.5 kB / 1.164 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00248/0.8124, allocations: 1.088 MB / 1.165 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8124, allocations: 0 / 1.165 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.8134, allocations: 0.5417 MB / 1.166 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.8168, allocations: 0.5486 MB / 1.166 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.8205, allocations: 2.382 MB / 1.169 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.8211, allocations: 1.069 MB / 1.17 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001145/0.8222, allocations: 288.1 kB / 1.17 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.8225, allocations: 79.41 kB / 1.17 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.8225, allocations: 4 kB / 1.17 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of Templates: time 0.03357/0.8561, allocations: 21.38 MB / 1.191 GB, free: 12.15 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)