Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01486/0.01486, allocations: 89.06 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001913/0.001914, allocations: 171.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.128/2.128, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.39/2.39, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006539, allocations: 10.72 kB / 0.6243 GB, free: 21.12 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2442, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.8973/1.142, allocations: 162.2 MB / 0.8864 GB, free: 4 kB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02077/1.162, allocations: 6.365 MB / 0.8927 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/1.165, allocations: 37.09 kB / 0.8927 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004758/1.17, allocations: 0.6755 MB / 0.8934 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01213/1.182, allocations: 1.756 MB / 0.8951 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007342/1.19, allocations: 1.53 MB / 0.8966 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004849/1.194, allocations: 1.68 MB / 0.8982 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/1.196, allocations: 0.6915 MB / 0.8989 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/1.2, allocations: 0.8492 MB / 0.8997 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/1.202, allocations: 0.6017 MB / 0.9003 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000398/1.202, allocations: 41.78 kB / 0.9003 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/1.207, allocations: 1.168 MB / 0.9015 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007873/1.208, allocations: 291.9 kB / 0.9018 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/1.208, allocations: 241.2 kB / 0.902 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/1.212, allocations: 1.555 MB / 0.9035 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.212, allocations: 0 / 0.9035 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.745e-06/1.212, allocations: 4 kB / 0.9035 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.673e-05/1.212, allocations: 0 / 0.9035 GB, free: 12.42 MB / 0.6667 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.006209/1.218, allocations: 1.41 MB / 0.9049 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.219, allocations: 8.719 kB / 0.9049 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000422/1.219, allocations: 118.2 kB / 0.905 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/1.224, allocations: 0.6106 MB / 0.9056 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/1.228, allocations: 0.9129 MB / 0.9065 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002233/1.23, allocations: 322.1 kB / 0.9068 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/1.23, allocations: 74.17 kB / 0.9069 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/1.235, allocations: 1.162 MB / 0.908 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/1.235, allocations: 0 / 0.908 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/1.235, allocations: 34.16 kB / 0.908 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-05/1.235, allocations: 35.45 kB / 0.9081 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006584/1.242, allocations: 1.329 MB / 0.9094 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/1.253, allocations: 3.096 MB / 0.9124 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/1.257, allocations: 0.7302 MB / 0.9131 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/1.258, allocations: 0.6719 MB / 0.9138 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001988/1.26, allocations: 0.5365 MB / 0.9143 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 5.26e-06/1.26, allocations: 0 / 0.9143 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.005814/1.266, allocations: 1.368 MB / 0.9156 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.266, allocations: 115.4 kB / 0.9157 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/1.269, allocations: 1.221 MB / 0.9169 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/1.269, allocations: 39.64 kB / 0.917 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/1.27, allocations: 425.9 kB / 0.9174 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/1.27, allocations: 196 kB / 0.9176 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/1.27, allocations: 12.34 kB / 0.9176 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.27, allocations: 330.6 kB / 0.9179 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/1.273, allocations: 498.8 kB / 0.9184 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/1.276, allocations: 0.6436 MB / 0.919 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/1.278, allocations: 0.552 MB / 0.9195 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.279, allocations: 0 / 0.9195 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006209/1.285, allocations: 1.31 MB / 0.9208 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/1.285, allocations: 40.28 kB / 0.9208 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.285, allocations: 6.469 kB / 0.9209 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/1.285, allocations: 7.906 kB / 0.9209 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/1.287, allocations: 212.2 kB / 0.9211 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/1.287, allocations: 6.75 kB / 0.9211 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.29, allocations: 308.4 kB / 0.9214 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/1.291, allocations: 36.97 kB / 0.9214 GB, free: 4.734 MB / 0.6667 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.0008471/1.291, allocations: 323.4 kB / 0.9217 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.292, allocations: 126.5 kB / 0.9218 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/1.296, allocations: 1.065 MB / 0.9229 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.296, allocations: 4.656 kB / 0.9229 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.296, allocations: 4.594 kB / 0.9229 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.296, allocations: 3.984 kB / 0.9229 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00867/1.304, allocations: 3.236 MB / 0.926 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.305, allocations: 8.031 kB / 0.926 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.306, allocations: 136.7 kB / 0.9262 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/1.306, allocations: 13.94 kB / 0.9262 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/1.306, allocations: 27.48 kB / 0.9262 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/1.306, allocations: 10.38 kB / 0.9262 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/1.306, allocations: 11.59 kB / 0.9262 GB, free: 2.809 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/1.31, allocations: 1.743 MB / 0.9279 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.311, allocations: 337.6 kB / 0.9283 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/1.312, allocations: 22.48 kB / 0.9283 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.314, allocations: 130.3 kB / 0.9284 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.314, allocations: 59.28 kB / 0.9285 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/1.314, allocations: 42.62 kB / 0.9285 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002733/1.317, allocations: 0.8886 MB / 0.9294 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.72e-07/1.317, allocations: 0 / 0.9294 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001825/1.319, allocations: 308.7 kB / 0.9297 GB, free: 1.031 MB / 0.6667 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.006113/1.325, allocations: 4.689 MB / 0.9342 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004621/1.33, allocations: 1.085 MB / 0.9353 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.33, allocations: 2.469 kB / 0.9353 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.332, allocations: 0.5453 MB / 0.9358 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004888/1.337, allocations: 0.5318 MB / 0.9364 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/1.362, allocations: 8.796 MB / 0.9449 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009383/1.363, allocations: 1.092 MB / 0.946 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00221/1.365, allocations: 288.1 kB / 0.9463 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.366, allocations: 367.3 kB / 0.9466 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/1.366, allocations: 0 / 0.9466 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09245/1.459, allocations: 31.14 MB / 0.9771 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005379/1.46, allocations: 256.5 kB / 0.9773 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.764/5.223, allocations: 5.859 kB / 0.9773 GB, free: 5.844 MB / 0.7136 GB