Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.238/2.238, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 187.7 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.33/2.33, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009118, allocations: 96.12 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007339/0.0007343, allocations: 12.55 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.277, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.078/1.355, allocations: 176.8 MB / 1.072 GB, free: 4.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01837/1.374, allocations: 6.626 MB / 1.078 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/1.377, allocations: 38.91 kB / 1.078 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003276/1.38, allocations: 468.8 kB / 1.079 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/1.391, allocations: 1.689 MB / 1.08 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007997/1.399, allocations: 1.08 MB / 1.081 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009252/1.408, allocations: 3.228 MB / 1.085 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002906/1.411, allocations: 0.7187 MB / 1.085 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004176/1.415, allocations: 0.9366 MB / 1.086 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/1.418, allocations: 0.8048 MB / 1.087 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004729/1.419, allocations: 42.31 kB / 1.087 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007082/1.426, allocations: 1.22 MB / 1.088 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/1.427, allocations: 305.1 kB / 1.088 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/1.429, allocations: 238 kB / 1.089 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005626/1.435, allocations: 1.633 MB / 1.09 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.435, allocations: 0 / 1.09 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.417e-06/1.435, allocations: 0 / 1.09 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.71e-05/1.435, allocations: 5.125 kB / 1.09 GB, free: 19.56 MB / 0.7136 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.008053/1.443, allocations: 1.42 MB / 1.092 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.443, allocations: 12.78 kB / 1.092 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007355/1.45, allocations: 0.5966 MB / 1.092 GB, free: 18.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005449/1.456, allocations: 0.9704 MB / 1.093 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003096/1.459, allocations: 315.1 kB / 1.094 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005222/1.459, allocations: 70.94 kB / 1.094 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006733/1.466, allocations: 1.169 MB / 1.095 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/1.466, allocations: 1.859 kB / 1.095 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/1.467, allocations: 27.78 kB / 1.095 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.03e-05/1.467, allocations: 33.09 kB / 1.095 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009361/1.476, allocations: 1.327 MB / 1.096 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/1.491, allocations: 3.074 MB / 1.099 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/1.495, allocations: 0.7342 MB / 1.1 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/1.497, allocations: 458.2 kB / 1.1 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/1.499, allocations: 1.021 MB / 1.101 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002532/1.502, allocations: 0.5368 MB / 1.102 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 5.01e-06/1.502, allocations: 0 / 1.102 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.007562/1.51, allocations: 1.286 MB / 1.103 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.51, allocations: 115.9 kB / 1.103 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/1.515, allocations: 1.212 MB / 1.104 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000337/1.515, allocations: 38.08 kB / 1.104 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/1.516, allocations: 432.2 kB / 1.105 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/1.516, allocations: 195.2 kB / 1.105 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/1.517, allocations: 10.88 kB / 1.105 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.517, allocations: 335.6 kB / 1.105 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.52, allocations: 0.4906 MB / 1.106 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0042/1.525, allocations: 0.6483 MB / 1.106 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/1.529, allocations: 0.5459 MB / 1.107 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.529, allocations: 0 / 1.107 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.008979/1.538, allocations: 1.316 MB / 1.108 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/1.538, allocations: 39.25 kB / 1.108 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.538, allocations: 2.906 kB / 1.108 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/1.538, allocations: 7.5 kB / 1.108 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.541, allocations: 221.8 kB / 1.108 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.541, allocations: 5.125 kB / 1.108 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/1.545, allocations: 302.8 kB / 1.109 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.546, allocations: 38.7 kB / 1.109 GB, free: 14.57 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001116/1.547, allocations: 329.9 kB / 1.109 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004114/1.547, allocations: 120 kB / 1.109 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/1.553, allocations: 1.058 MB / 1.11 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/1.553, allocations: 11.72 kB / 1.11 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.553, allocations: 0 / 1.11 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.553, allocations: 4.844 kB / 1.11 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/1.564, allocations: 3.233 MB / 1.113 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.565, allocations: 10.19 kB / 1.113 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.566, allocations: 133.3 kB / 1.114 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/1.566, allocations: 15.5 kB / 1.114 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.566, allocations: 27.56 kB / 1.114 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/1.566, allocations: 17.22 kB / 1.114 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/1.566, allocations: 9.094 kB / 1.114 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/1.57, allocations: 1.333 MB / 1.115 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000996/1.571, allocations: 334 kB / 1.115 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/1.571, allocations: 22.22 kB / 1.115 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.574, allocations: 127.1 kB / 1.115 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/1.574, allocations: 64.92 kB / 1.115 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.574, allocations: 40.55 kB / 1.115 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002854/1.577, allocations: 0.8764 MB / 1.116 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.194e-06/1.577, allocations: 0 / 1.116 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001927/1.579, allocations: 305.2 kB / 1.117 GB, free: 12.66 MB / 0.7136 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.00103/1.58, allocations: 337.5 kB / 1.117 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004636/1.585, allocations: 1.083 MB / 1.118 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.585, allocations: 2 kB / 1.118 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.587, allocations: 0.5412 MB / 1.119 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/1.592, allocations: 0.5385 MB / 1.119 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/1.598, allocations: 2.302 MB / 1.121 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008605/1.599, allocations: 1.074 MB / 1.122 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002258/1.601, allocations: 287 kB / 1.123 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/1.602, allocations: 82.42 kB / 1.123 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of SimCode: time 1.343e-06/1.602, allocations: 0 / 1.123 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.05601/1.658, allocations: 20.83 MB / 1.143 GB, free: 48 kB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)