Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 189.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 472.6 MB / 0.7448 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.61 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.344, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02048/0.3645, allocations: 20.72 MB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008177/0.3727, allocations: 5.38 MB / 1.093 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008523/0.3736, allocations: 19.88 kB / 1.093 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.3746, allocations: 290.4 kB / 1.093 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.3778, allocations: 0.863 MB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.3807, allocations: 0.8473 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.3832, allocations: 1.739 MB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007501/0.384, allocations: 497.5 kB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.3859, allocations: 0.7025 MB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.3866, allocations: 0.5056 MB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.3866, allocations: 40 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.3886, allocations: 1.131 MB / 1.1 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.3888, allocations: 143.4 kB / 1.1 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.3892, allocations: 326.3 kB / 1.1 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.3909, allocations: 1.2 MB / 1.101 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3909, allocations: 0 / 1.101 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3909, allocations: 0 / 1.101 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3909, allocations: 3.938 kB / 1.101 GB, free: 8.27 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00211/0.393, allocations: 1.053 MB / 1.102 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3931, allocations: 8.031 kB / 1.102 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/0.394, allocations: 184 kB / 1.102 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3952, allocations: 0.5574 MB / 1.103 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.3955, allocations: 88.92 kB / 1.103 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.3956, allocations: 40 kB / 1.103 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3967, allocations: 0.492 MB / 1.104 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3968, allocations: 0 / 1.104 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.3968, allocations: 16 kB / 1.104 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.3969, allocations: 15.98 kB / 1.104 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.3979, allocations: 410.6 kB / 1.104 GB, free: 5.293 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.4011, allocations: 2.281 MB / 1.106 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.4024, allocations: 383 kB / 1.107 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.4029, allocations: 230.9 kB / 1.107 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003628/0.4033, allocations: 348.6 kB / 1.107 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.4039, allocations: 306.1 kB / 1.107 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.404, allocations: 0 / 1.107 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002325/0.4063, allocations: 0.8625 MB / 1.108 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.4064, allocations: 85.11 kB / 1.108 GB, free: 472 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.4069, allocations: 0.4913 MB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.407, allocations: 29.7 kB / 1.109 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.4073, allocations: 276.4 kB / 1.109 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.4074, allocations: 110.3 kB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4076, allocations: 77.67 kB / 1.109 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4077, allocations: 362.8 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.4082, allocations: 176.8 kB / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.4087, allocations: 283 kB / 1.11 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.4097, allocations: 470.1 kB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4097, allocations: 3.984 kB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001465/0.4112, allocations: 0.6161 MB / 1.111 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.4112, allocations: 41.69 kB / 1.111 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4112, allocations: 0 / 1.111 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.4116, allocations: 76.81 kB / 1.111 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.412, allocations: 87.94 kB / 1.111 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000474/0.4125, allocations: 0.5953 MB / 1.112 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.4131, allocations: 75.7 kB / 1.112 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.4131, allocations: 19.92 kB / 1.112 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005869/0.4137, allocations: 323.8 kB / 1.112 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005216/0.4143, allocations: 257.2 kB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009135/0.4152, allocations: 469 kB / 1.113 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.4152, allocations: 0 / 1.113 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001287/0.4165, allocations: 0.6006 MB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.4166, allocations: 37.69 kB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4167, allocations: 4 kB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.4168, allocations: 48.81 kB / 1.114 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.4172, allocations: 83.97 kB / 1.114 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.419, allocations: 1.806 MB / 1.116 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.4195, allocations: 63.84 kB / 1.116 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.4196, allocations: 19.94 kB / 1.116 GB, free: 8.625 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.4198, allocations: 242.4 kB / 1.116 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4199, allocations: 55.53 kB / 1.116 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.4215, allocations: 0.6574 MB / 1.117 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.4215, allocations: 8 kB / 1.117 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.4215, allocations: 0 / 1.117 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/0.4229, allocations: 0.8092 MB / 1.117 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.4253, allocations: 1.299 MB / 1.119 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4253, allocations: 4 kB / 1.119 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.4257, allocations: 63.89 kB / 1.119 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.4258, allocations: 48.84 kB / 1.119 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.4259, allocations: 12 kB / 1.119 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003898/0.4263, allocations: 0.5795 MB / 1.119 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4263, allocations: 0 / 1.119 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.4282, allocations: 0.9881 MB / 1.12 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.4284, allocations: 176.3 kB / 1.12 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.4285, allocations: 8 kB / 1.12 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.4291, allocations: 59.91 kB / 1.121 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.4292, allocations: 23.92 kB / 1.121 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.4293, allocations: 23.97 kB / 1.121 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003892/0.4297, allocations: 342.9 kB / 1.121 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4297, allocations: 0 / 1.121 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001061/0.4307, allocations: 347.4 kB / 1.121 GB, free: 2.633 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000666/0.4314, allocations: 301.8 kB / 1.122 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.4338, allocations: 1.006 MB / 1.123 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4338, allocations: 0 / 1.123 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.4344, allocations: 327.3 kB / 1.123 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4356, allocations: 220.1 kB / 1.123 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.4381, allocations: 1.327 MB / 1.124 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.4387, allocations: 0.8825 MB / 1.125 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000512/0.4392, allocations: 128.3 kB / 1.125 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4393, allocations: 43.42 kB / 1.125 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of SimCode: time 5.71e-07/0.4393, allocations: 0 / 1.125 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of Templates: time 0.01973/0.4591, allocations: 11.26 MB / 1.136 GB, free: 3.168 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)