Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008853/0.008857, allocations: 106.8 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001114/0.001114, allocations: 179.7 kB / 15.94 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.993/1.993, allocations: 194.6 MB / 211.3 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.29/2.29, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004708, allocations: 16 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.5512, allocations: 98.7 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2685/0.8198, allocations: 161.9 MB / 0.8414 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.8325, allocations: 6.338 MB / 0.8476 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.834, allocations: 35.69 kB / 0.8476 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.8363, allocations: 0.6766 MB / 0.8483 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006317/0.8427, allocations: 1.749 MB / 0.85 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005696/0.8484, allocations: 1.464 MB / 0.8514 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004014/0.8524, allocations: 1.8 MB / 0.8532 GB, free: 132 kB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.854, allocations: 0.7053 MB / 0.8539 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.8562, allocations: 0.8917 MB / 0.8547 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.8575, allocations: 0.6108 MB / 0.8553 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.8577, allocations: 51.94 kB / 0.8554 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.8613, allocations: 1.17 MB / 0.8565 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005139/0.8618, allocations: 275.1 kB / 0.8568 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.8623, allocations: 245.1 kB / 0.857 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.8652, allocations: 1.548 MB / 0.8585 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.816e-06/0.8652, allocations: 0 / 0.8585 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.292e-06/0.8652, allocations: 0 / 0.8585 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.8653, allocations: 0 / 0.8585 GB, free: 10.62 MB / 0.6823 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.004388/0.8697, allocations: 1.399 MB / 0.8599 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8697, allocations: 16.73 kB / 0.8599 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.8734, allocations: 0.5995 MB / 0.8605 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.8759, allocations: 0.9229 MB / 0.8614 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/0.8773, allocations: 313 kB / 0.8617 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.8776, allocations: 68 kB / 0.8618 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.8812, allocations: 1.156 MB / 0.8629 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.8813, allocations: 0 / 0.8629 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.8814, allocations: 27.98 kB / 0.8629 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/0.8815, allocations: 33.27 kB / 0.8629 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004736/0.8863, allocations: 1.325 MB / 0.8642 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008328/0.8946, allocations: 3.076 MB / 0.8672 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.8971, allocations: 0.7116 MB / 0.8679 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007113/0.8979, allocations: 0.6692 MB / 0.8686 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.8993, allocations: 0.5096 MB / 0.8691 GB, free: 15.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=55): time 4.016e-06/0.8994, allocations: 0 / 0.8691 GB, free: 15.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=55): time 0.004145/0.9035, allocations: 1.27 MB / 0.8703 GB, free: 14.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.9037, allocations: 111.2 kB / 0.8704 GB, free: 13.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.9067, allocations: 1.227 MB / 0.8716 GB, free: 12.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.9069, allocations: 41.7 kB / 0.8717 GB, free: 12.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.9074, allocations: 445.1 kB / 0.8721 GB, free: 12.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.9077, allocations: 189.3 kB / 0.8723 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.9078, allocations: 12 kB / 0.8723 GB, free: 12.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.908, allocations: 326 kB / 0.8726 GB, free: 11.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.9098, allocations: 492.9 kB / 0.8731 GB, free: 11.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.9118, allocations: 0.6234 MB / 0.8737 GB, free: 10.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.9137, allocations: 0.5425 MB / 0.8742 GB, free: 10.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.9137, allocations: 4 kB / 0.8742 GB, free: 10.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004367/0.9181, allocations: 1.253 MB / 0.8754 GB, free: 8.758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.9182, allocations: 38.94 kB / 0.8755 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9183, allocations: 4 kB / 0.8755 GB, free: 8.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.9183, allocations: 8 kB / 0.8755 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.9196, allocations: 215.8 kB / 0.8757 GB, free: 8.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.9196, allocations: 8 kB / 0.8757 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.9216, allocations: 310.8 kB / 0.876 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.9218, allocations: 35.97 kB / 0.876 GB, free: 8.145 MB / 0.698 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 (68): * Single equations (assignments): 67 * 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.0007245/0.9226, allocations: 323.3 kB / 0.8763 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.9229, allocations: 118.6 kB / 0.8765 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.9258, allocations: 0.9875 MB / 0.8774 GB, free: 6.688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.9259, allocations: 11.97 kB / 0.8774 GB, free: 6.676 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.9259, allocations: 4 kB / 0.8774 GB, free: 6.672 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.914e-06/0.9259, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/0.9328, allocations: 2.942 MB / 0.8803 GB, free: 3.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.9329, allocations: 8 kB / 0.8803 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.9337, allocations: 124 kB / 0.8804 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/0.9337, allocations: 12 kB / 0.8804 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.9338, allocations: 19.98 kB / 0.8805 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.9338, allocations: 15.88 kB / 0.8805 GB, free: 3.406 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.9338, allocations: 8 kB / 0.8805 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.9371, allocations: 1.591 MB / 0.882 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/0.9381, allocations: 323.4 kB / 0.8823 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.9384, allocations: 23.98 kB / 0.8824 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.9399, allocations: 127.9 kB / 0.8825 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.94, allocations: 59.72 kB / 0.8826 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.9402, allocations: 39.97 kB / 0.8826 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002177/0.9424, allocations: 0.8913 MB / 0.8835 GB, free: 80 kB / 0.698 GB Notification: Performance of sort global known variables: time 9.52e-07/0.9424, allocations: 0 / 0.8835 GB, free: 80 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001494/0.9439, allocations: 303.9 kB / 0.8837 GB, free: 15.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (53): * Single equations (assignments): 48 * 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.0008705/0.9448, allocations: 346.5 kB / 0.8841 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003371/0.9482, allocations: 1.056 MB / 0.8851 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.791e-06/0.9482, allocations: 3.938 kB / 0.8851 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.9496, allocations: 0.5243 MB / 0.8856 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.9528, allocations: 0.5245 MB / 0.8861 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.9579, allocations: 2.245 MB / 0.8883 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009792/0.9589, allocations: 1.088 MB / 0.8894 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001794/0.9608, allocations: 268.2 kB / 0.8897 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.9612, allocations: 87.39 kB / 0.8897 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of SimCode: time 1.668e-06/0.9612, allocations: 0 / 0.8897 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of Templates: time 0.05088/1.012, allocations: 21.01 MB / 0.9102 GB, free: 4.715 MB / 0.7292 GB