Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/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_master_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.627/2.627, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 166.4 kB / 371.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 96.41 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007834/0.0007838, allocations: 12.31 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1658, allocations: 115.3 MB / 0.9788 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7688/0.9346, allocations: 162 MB / 1.137 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.9545, allocations: 6.262 MB / 1.143 GB, free: 14.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.957, allocations: 38.78 kB / 1.143 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.9614, allocations: 0.6624 MB / 1.144 GB, free: 14.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.972, allocations: 1.644 MB / 1.145 GB, free: 13.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01037/0.9824, allocations: 1.53 MB / 1.147 GB, free: 12.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006/0.9885, allocations: 1.664 MB / 1.148 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.9908, allocations: 0.6865 MB / 1.149 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.9936, allocations: 0.9138 MB / 1.15 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.9949, allocations: 0.5401 MB / 1.151 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.9951, allocations: 42.44 kB / 1.151 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.999, allocations: 1.175 MB / 1.152 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007046/0.9998, allocations: 285.3 kB / 1.152 GB, free: 9.199 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005263/1, allocations: 238 kB / 1.152 GB, free: 9.055 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003267/1.004, allocations: 1.555 MB / 1.154 GB, free: 8.039 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.004, allocations: 0 / 1.154 GB, free: 8.039 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/1.004, allocations: 1.062 kB / 1.154 GB, free: 8.039 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.38e-05/1.004, allocations: 0 / 1.154 GB, free: 8.039 MB / 0.698 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.004668/1.008, allocations: 1.406 MB / 1.155 GB, free: 6.934 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.008, allocations: 9.812 kB / 1.155 GB, free: 6.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/1.012, allocations: 0.6102 MB / 1.156 GB, free: 6.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/1.015, allocations: 0.92 MB / 1.157 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001423/1.016, allocations: 321.9 kB / 1.157 GB, free: 5.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/1.017, allocations: 66.44 kB / 1.157 GB, free: 5.816 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/1.021, allocations: 1.168 MB / 1.158 GB, free: 5.148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/1.021, allocations: 0 / 1.158 GB, free: 5.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/1.021, allocations: 27.09 kB / 1.158 GB, free: 5.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-05/1.021, allocations: 35.77 kB / 1.158 GB, free: 5.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/1.026, allocations: 1.329 MB / 1.159 GB, free: 4.492 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009181/1.035, allocations: 2.995 MB / 1.162 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/1.038, allocations: 0.7378 MB / 1.163 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/1.039, allocations: 0.6714 MB / 1.164 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/1.04, allocations: 0.5375 MB / 1.164 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 4.209e-06/1.04, allocations: 0 / 1.164 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.004487/1.045, allocations: 1.365 MB / 1.166 GB, free: 124 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.045, allocations: 119.6 kB / 1.166 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/1.048, allocations: 1.215 MB / 1.167 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.048, allocations: 39.14 kB / 1.167 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/1.048, allocations: 432.8 kB / 1.167 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/1.049, allocations: 195.3 kB / 1.168 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/1.049, allocations: 14.62 kB / 1.168 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.049, allocations: 329.7 kB / 1.168 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/1.051, allocations: 494.4 kB / 1.168 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/1.053, allocations: 0.6427 MB / 1.169 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/1.055, allocations: 0.5453 MB / 1.17 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.295e-06/1.055, allocations: 4 kB / 1.17 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004469/1.059, allocations: 1.314 MB / 1.171 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/1.059, allocations: 39.95 kB / 1.171 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.059, allocations: 6.75 kB / 1.171 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.059, allocations: 5.031 kB / 1.171 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.061, allocations: 216.6 kB / 1.171 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/1.061, allocations: 9.766 kB / 1.171 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.063, allocations: 306.5 kB / 1.171 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.063, allocations: 38.14 kB / 1.171 GB, free: 12.65 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.0007383/1.064, allocations: 326.6 kB / 1.172 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/1.064, allocations: 119.3 kB / 1.172 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/1.067, allocations: 1.069 MB / 1.173 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/1.067, allocations: 5.375 kB / 1.173 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-06/1.067, allocations: 2 kB / 1.173 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.067, allocations: 3.984 kB / 1.173 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/1.074, allocations: 3.236 MB / 1.176 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/1.075, allocations: 7.656 kB / 1.176 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/1.075, allocations: 137.2 kB / 1.176 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/1.075, allocations: 14.33 kB / 1.176 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/1.075, allocations: 27.7 kB / 1.176 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/1.075, allocations: 18.58 kB / 1.176 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.075, allocations: 11.25 kB / 1.176 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/1.079, allocations: 1.733 MB / 1.178 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009304/1.08, allocations: 341.7 kB / 1.178 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/1.08, allocations: 20.91 kB / 1.178 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.082, allocations: 133.1 kB / 1.178 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.082, allocations: 63.11 kB / 1.179 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.082, allocations: 40.81 kB / 1.179 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002125/1.084, allocations: 0.8864 MB / 1.179 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.79e-07/1.084, allocations: 0 / 1.179 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001694/1.086, allocations: 311.4 kB / 1.18 GB, free: 6.961 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.0009207/1.087, allocations: 346.6 kB / 1.18 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003325/1.09, allocations: 1.082 MB / 1.181 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.86e-06/1.09, allocations: 0 / 1.181 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/1.092, allocations: 0.5441 MB / 1.182 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/1.095, allocations: 0.5303 MB / 1.182 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/1.1, allocations: 2.317 MB / 1.184 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009513/1.101, allocations: 1.089 MB / 1.185 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001823/1.103, allocations: 288.1 kB / 1.186 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/1.104, allocations: 83.81 kB / 1.186 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of SimCode: time 1.586e-06/1.104, allocations: 0 / 1.186 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of Templates: time 0.05128/1.155, allocations: 21.11 MB / 1.206 GB, free: 15.14 MB / 0.7448 GB