Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.653/1.653, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001108/0.001108, allocations: 175.5 kB / 393.1 MB, free: 4.09 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.437/1.437, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008046/0.0008047, allocations: 95.75 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/0.581, allocations: 121.3 MB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2175/0.7985, allocations: 184 MB / 1.221 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.8163, allocations: 9.207 MB / 1.23 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.8184, allocations: 39.69 kB / 1.23 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.8209, allocations: 0.5595 MB / 1.23 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.008839/0.8298, allocations: 2.173 MB / 1.232 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006119/0.836, allocations: 1.284 MB / 1.234 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.007966/0.8439, allocations: 3.728 MB / 1.237 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.8463, allocations: 0.7832 MB / 1.238 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.8497, allocations: 0.9881 MB / 1.239 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.853, allocations: 0.7816 MB / 1.24 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.8535, allocations: 40 kB / 1.24 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007349/0.8608, allocations: 2.174 MB / 1.242 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0007583/0.8616, allocations: 302.8 kB / 1.242 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.863, allocations: 0.5495 MB / 1.243 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006082/0.8691, allocations: 2.399 MB / 1.245 GB, free: 3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.8692, allocations: 4 kB / 1.245 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8692, allocations: 0 / 1.245 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.159e-05/0.8692, allocations: 0 / 1.245 GB, free: 2.996 MB / 0.8073 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.004996/0.8742, allocations: 1.396 MB / 1.246 GB, free: 1.543 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.8743, allocations: 8.031 kB / 1.246 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.8789, allocations: 0.6035 MB / 1.247 GB, free: 0.9297 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.8824, allocations: 0.9923 MB / 1.248 GB, free: 15.89 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001803/0.8842, allocations: 321 kB / 1.248 GB, free: 15.58 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.8845, allocations: 64 kB / 1.248 GB, free: 15.52 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004093/0.8886, allocations: 1.155 MB / 1.249 GB, free: 14.33 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.8886, allocations: 0 / 1.249 GB, free: 14.33 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.8888, allocations: 32 kB / 1.249 GB, free: 14.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/0.8889, allocations: 29.31 kB / 1.249 GB, free: 14.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005188/0.8941, allocations: 1.25 MB / 1.251 GB, free: 13.02 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009489/0.9036, allocations: 3.24 MB / 1.254 GB, free: 9.695 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.9064, allocations: 0.7075 MB / 1.255 GB, free: 8.98 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.9077, allocations: 428 kB / 1.255 GB, free: 8.559 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.9092, allocations: 1.021 MB / 1.256 GB, free: 7.316 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.9108, allocations: 0.5182 MB / 1.256 GB, free: 6.773 MB / 0.823 GB Notification: Performance of pre-optimization done (n=57): time 6.462e-06/0.9108, allocations: 0 / 1.256 GB, free: 6.773 MB / 0.823 GB Notification: Performance of matching and sorting (n=57): time 0.0049/0.9157, allocations: 1.245 MB / 1.258 GB, free: 5.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.9159, allocations: 144.8 kB / 1.258 GB, free: 5.352 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.9194, allocations: 1.208 MB / 1.259 GB, free: 4.129 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.9196, allocations: 37.7 kB / 1.259 GB, free: 4.086 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.9202, allocations: 441.4 kB / 1.259 GB, free: 3.652 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.9205, allocations: 185.3 kB / 1.26 GB, free: 3.469 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.9205, allocations: 12 kB / 1.26 GB, free: 3.457 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9207, allocations: 333.9 kB / 1.26 GB, free: 3.125 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.9228, allocations: 488.9 kB / 1.26 GB, free: 2.648 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.925, allocations: 0.6444 MB / 1.261 GB, free: 1.953 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.9282, allocations: 0.9731 MB / 1.262 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9282, allocations: 3.938 kB / 1.262 GB, free: 0.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004889/0.9331, allocations: 1.275 MB / 1.263 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.9332, allocations: 45.69 kB / 1.263 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.9332, allocations: 0 / 1.263 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.9332, allocations: 12.28 kB / 1.263 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.9346, allocations: 215.6 kB / 1.264 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.9346, allocations: 11.94 kB / 1.264 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.9369, allocations: 300.5 kB / 1.264 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.937, allocations: 35.98 kB / 1.264 GB, free: 15.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * 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.0007193/0.9378, allocations: 331.8 kB / 1.264 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.938, allocations: 118.6 kB / 1.264 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.9409, allocations: 0.9991 MB / 1.265 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.9409, allocations: 19.97 kB / 1.265 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.941, allocations: 0 / 1.265 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.941, allocations: 11.98 kB / 1.265 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/0.9474, allocations: 3.168 MB / 1.268 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.9475, allocations: 8.594 kB / 1.268 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009307/0.9484, allocations: 123.8 kB / 1.269 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.9485, allocations: 15.94 kB / 1.269 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.9485, allocations: 19.98 kB / 1.269 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.368e-05/0.9486, allocations: 15.98 kB / 1.269 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.9486, allocations: 15.94 kB / 1.269 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.9518, allocations: 1.345 MB / 1.27 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/0.9526, allocations: 335.3 kB / 1.27 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.9529, allocations: 24 kB / 1.27 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.9547, allocations: 127.9 kB / 1.27 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.9549, allocations: 59.7 kB / 1.27 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.955, allocations: 43.97 kB / 1.27 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002459/0.9575, allocations: 0.8794 MB / 1.271 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-07/0.9575, allocations: 0 / 1.271 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001693/0.9592, allocations: 295.8 kB / 1.272 GB, free: 6.758 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (56): * Single equations (assignments): 51 * 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.0009731/0.9602, allocations: 358.1 kB / 1.272 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003743/0.964, allocations: 1.045 MB / 1.273 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.964, allocations: 7.938 kB / 1.273 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.9655, allocations: 0.5126 MB / 1.273 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005792/0.9713, allocations: 0.541 MB / 1.274 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.9772, allocations: 2.378 MB / 1.276 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008949/0.9781, allocations: 1.069 MB / 1.277 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00199/0.9801, allocations: 272.2 kB / 1.278 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.9805, allocations: 83.41 kB / 1.278 GB, free: 336 kB / 0.8386 GB Notification: Performance of SimCode: time 1.373e-06/0.9805, allocations: 0 / 1.278 GB, free: 336 kB / 0.8386 GB Notification: Performance of Templates: time 0.05462/1.035, allocations: 21.15 MB / 1.298 GB, free: 11.45 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)