Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") 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.854/1.854, allocations: 297.4 MB / 312.6 MB, free: 2.945 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.001027/0.001027, allocations: 182 kB / 382.3 MB, free: 14.83 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.343/1.343, allocations: 225.7 MB / 0.6617 GB, free: 7.164 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.001015/0.001015, allocations: 93.03 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 8 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5271, allocations: 119.2 MB / 1.022 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1766/0.7037, allocations: 184 MB / 1.202 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.7164, allocations: 9.181 MB / 1.211 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.7181, allocations: 39.69 kB / 1.211 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.7198, allocations: 0.5557 MB / 1.212 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.7257, allocations: 2.143 MB / 1.214 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.7292, allocations: 1.288 MB / 1.215 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00512/0.7344, allocations: 3.678 MB / 1.218 GB, free: 5.574 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.7362, allocations: 0.7512 MB / 1.219 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.7391, allocations: 0.9982 MB / 1.22 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.7418, allocations: 0.7914 MB / 1.221 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.742, allocations: 44 kB / 1.221 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/0.7475, allocations: 2.167 MB / 1.223 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006923/0.7482, allocations: 311.6 kB / 1.223 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.7494, allocations: 0.5552 MB / 1.224 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005317/0.7548, allocations: 2.431 MB / 1.226 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.7548, allocations: 0 / 1.226 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7548, allocations: 0 / 1.226 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.287e-05/0.7548, allocations: 4 kB / 1.226 GB, free: 15.35 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.004063/0.7589, allocations: 1.419 MB / 1.228 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.759, allocations: 8.031 kB / 1.228 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/0.7621, allocations: 0.5957 MB / 1.228 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.7643, allocations: 1.006 MB / 1.229 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/0.7656, allocations: 313.1 kB / 1.23 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.7658, allocations: 71.98 kB / 1.23 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.7686, allocations: 1.172 MB / 1.231 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.7686, allocations: 0 / 1.231 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.7687, allocations: 31.98 kB / 1.231 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.7688, allocations: 33.3 kB / 1.231 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.7724, allocations: 1.325 MB / 1.232 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.7785, allocations: 2.964 MB / 1.235 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.7803, allocations: 0.7358 MB / 1.236 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.7812, allocations: 450.2 kB / 1.236 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008594/0.7821, allocations: 1.021 MB / 1.237 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.7831, allocations: 0.5369 MB / 1.238 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=59): time 2.615e-06/0.7832, allocations: 0 / 1.238 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of matching and sorting (n=59): time 0.003079/0.7862, allocations: 1.291 MB / 1.239 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.7863, allocations: 115.2 kB / 1.239 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.7884, allocations: 1.203 MB / 1.24 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.344e-05/0.7885, allocations: 41.7 kB / 1.24 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.7889, allocations: 433.5 kB / 1.241 GB, free: 124 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.7891, allocations: 197.1 kB / 1.241 GB, free: 15.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.7891, allocations: 12 kB / 1.241 GB, free: 15.91 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7892, allocations: 330 kB / 1.241 GB, free: 15.59 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.7906, allocations: 0.4892 MB / 1.242 GB, free: 15.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.7921, allocations: 0.643 MB / 1.242 GB, free: 14.41 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.7942, allocations: 0.9923 MB / 1.243 GB, free: 13.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7942, allocations: 0 / 1.243 GB, free: 13.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003239/0.7975, allocations: 1.311 MB / 1.245 GB, free: 12.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.7975, allocations: 41.64 kB / 1.245 GB, free: 12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7976, allocations: 0 / 1.245 GB, free: 12 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.7976, allocations: 11.94 kB / 1.245 GB, free: 11.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.7986, allocations: 215.9 kB / 1.245 GB, free: 11.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.7986, allocations: 11.98 kB / 1.245 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.8003, allocations: 308.3 kB / 1.245 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.8004, allocations: 35.97 kB / 1.245 GB, free: 11.43 MB / 0.823 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.0005553/0.801, allocations: 327.3 kB / 1.245 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.8012, allocations: 110.7 kB / 1.246 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.8034, allocations: 1.07 MB / 1.247 GB, free: 9.895 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.8035, allocations: 7.938 kB / 1.247 GB, free: 9.887 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8035, allocations: 4 kB / 1.247 GB, free: 9.883 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.8035, allocations: 3.984 kB / 1.247 GB, free: 9.879 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.8085, allocations: 3.232 MB / 1.25 GB, free: 6.484 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.8086, allocations: 4 kB / 1.25 GB, free: 6.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.8092, allocations: 136.1 kB / 1.25 GB, free: 6.348 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.8093, allocations: 8 kB / 1.25 GB, free: 6.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.8093, allocations: 27.98 kB / 1.25 GB, free: 6.312 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/0.8094, allocations: 21.88 kB / 1.25 GB, free: 6.293 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.8094, allocations: 11.94 kB / 1.25 GB, free: 6.281 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.8116, allocations: 1.33 MB / 1.251 GB, free: 4.836 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/0.8121, allocations: 335.4 kB / 1.252 GB, free: 4.488 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.8124, allocations: 27.94 kB / 1.252 GB, free: 4.461 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.8135, allocations: 127.9 kB / 1.252 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.8136, allocations: 63.75 kB / 1.252 GB, free: 4.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.731e-05/0.8137, allocations: 39.97 kB / 1.252 GB, free: 4.234 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00167/0.8154, allocations: 0.8793 MB / 1.253 GB, free: 3.348 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8154, allocations: 3.938 kB / 1.253 GB, free: 3.344 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001127/0.8165, allocations: 299.8 kB / 1.253 GB, free: 3.051 MB / 0.823 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.0008307/0.8174, allocations: 344.3 kB / 1.253 GB, free: 2.715 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.8199, allocations: 1.084 MB / 1.254 GB, free: 1.617 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.8199, allocations: 8 kB / 1.254 GB, free: 1.609 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.8209, allocations: 0.5374 MB / 1.255 GB, free: 1.062 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/0.8245, allocations: 0.5471 MB / 1.255 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.8285, allocations: 2.408 MB / 1.258 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.8292, allocations: 1.073 MB / 1.259 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001265/0.8304, allocations: 286.4 kB / 1.259 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.8307, allocations: 83.41 kB / 1.259 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.8307, allocations: 0 / 1.259 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.03389/0.8646, allocations: 21.38 MB / 1.28 GB, free: 7.402 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)