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.001536/0.001536, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 73.17 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02096/0.3314, allocations: 20.84 MB / 1.089 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007975/0.3394, allocations: 5.408 MB / 1.094 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/0.3402, allocations: 23.81 kB / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.3412, allocations: 333.8 kB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.3435, allocations: 0.9328 MB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3458, allocations: 0.9307 MB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.3479, allocations: 1.72 MB / 1.098 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006609/0.3486, allocations: 0.4975 MB / 1.098 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3502, allocations: 0.6865 MB / 1.099 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/0.3508, allocations: 0.494 MB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.3509, allocations: 40 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3528, allocations: 1.119 MB / 1.1 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.353, allocations: 143.4 kB / 1.101 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.3533, allocations: 338.2 kB / 1.101 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.3549, allocations: 1.188 MB / 1.102 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3549, allocations: 4 kB / 1.102 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.355, allocations: 0 / 1.102 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.355, allocations: 0 / 1.102 GB, free: 7.668 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.00154/0.3565, allocations: 1.051 MB / 1.103 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3566, allocations: 12.03 kB / 1.103 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.3575, allocations: 176 kB / 1.103 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000981/0.3585, allocations: 0.573 MB / 1.104 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.3588, allocations: 80.94 kB / 1.104 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.3589, allocations: 40 kB / 1.104 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009644/0.3599, allocations: 499.9 kB / 1.104 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3599, allocations: 7.938 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.3599, allocations: 16 kB / 1.104 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.36, allocations: 8 kB / 1.104 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.361, allocations: 414.6 kB / 1.105 GB, free: 4.699 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.002836/0.3639, allocations: 2.297 MB / 1.107 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3649, allocations: 375 kB / 1.107 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.3655, allocations: 233 kB / 1.108 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.3658, allocations: 340.7 kB / 1.108 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006508/0.3664, allocations: 311.2 kB / 1.108 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.3664, allocations: 0 / 1.108 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.00236/0.3688, allocations: 0.8625 MB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3689, allocations: 89.11 kB / 1.109 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.3694, allocations: 495 kB / 1.11 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.3694, allocations: 33.7 kB / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.3697, allocations: 276.4 kB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/0.3698, allocations: 110.4 kB / 1.11 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3699, allocations: 77.67 kB / 1.11 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3701, allocations: 362.8 kB / 1.11 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.3706, allocations: 184.7 kB / 1.111 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.3712, allocations: 271.1 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3723, allocations: 470.1 kB / 1.111 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3723, allocations: 0 / 1.111 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001654/0.374, allocations: 0.6277 MB / 1.112 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.374, allocations: 34.8 kB / 1.112 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3741, allocations: 4 kB / 1.112 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.3745, allocations: 76.86 kB / 1.112 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3749, allocations: 83.92 kB / 1.112 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006968/0.3756, allocations: 0.5991 MB / 1.113 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.3763, allocations: 59.75 kB / 1.113 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.3764, allocations: 19.98 kB / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008462/0.3772, allocations: 315.8 kB / 1.113 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006501/0.3779, allocations: 269.4 kB / 1.113 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001114/0.379, allocations: 476.9 kB / 1.114 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.379, allocations: 0 / 1.114 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001578/0.3806, allocations: 0.5966 MB / 1.114 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.3807, allocations: 37.7 kB / 1.114 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3807, allocations: 0 / 1.114 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.3809, allocations: 52.98 kB / 1.115 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.3813, allocations: 75.88 kB / 1.115 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.383, allocations: 1.81 MB / 1.116 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.3836, allocations: 55.81 kB / 1.116 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.3836, allocations: 23.92 kB / 1.116 GB, free: 8.039 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.0002587/0.3839, allocations: 237.9 kB / 1.117 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.384, allocations: 55.34 kB / 1.117 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.3855, allocations: 0.654 MB / 1.117 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3855, allocations: 4 kB / 1.117 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3855, allocations: 0 / 1.117 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/0.3868, allocations: 0.8208 MB / 1.118 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.3891, allocations: 1.295 MB / 1.119 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3891, allocations: 0 / 1.119 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.3895, allocations: 75.97 kB / 1.119 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.3897, allocations: 40.83 kB / 1.12 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.3897, allocations: 15.98 kB / 1.12 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003663/0.3901, allocations: 0.5719 MB / 1.12 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3901, allocations: 7.969 kB / 1.12 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.3921, allocations: 0.9806 MB / 1.121 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.3923, allocations: 180.3 kB / 1.121 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.3924, allocations: 8 kB / 1.121 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.3929, allocations: 44.02 kB / 1.121 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.393, allocations: 23.91 kB / 1.121 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.393, allocations: 19.98 kB / 1.121 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003925/0.3934, allocations: 346.8 kB / 1.122 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3934, allocations: 4 kB / 1.122 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001059/0.3945, allocations: 335.5 kB / 1.122 GB, free: 2.074 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.0007162/0.3952, allocations: 298.5 kB / 1.122 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.3975, allocations: 1.001 MB / 1.123 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3975, allocations: 4.062 kB / 1.123 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.3981, allocations: 332 kB / 1.124 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3993, allocations: 228 kB / 1.124 GB, free: 196 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4016, allocations: 1.132 MB / 1.125 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.402, allocations: 0.8784 MB / 1.126 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005102/0.4026, allocations: 128.3 kB / 1.126 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4027, allocations: 51.34 kB / 1.126 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of SimCode: time 9.31e-07/0.4027, allocations: 4 kB / 1.126 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.0219/0.4246, allocations: 11.3 MB / 1.137 GB, free: 2.762 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)