Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001362/0.001362, allocations: 190.2 kB / 16.14 MB, free: 6.695 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.08 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3316, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.0215/0.3532, allocations: 20.76 MB / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008784/0.362, allocations: 5.47 MB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.3634, allocations: 19.88 kB / 1.093 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.3646, allocations: 290.4 kB / 1.093 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.3676, allocations: 0.8557 MB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.3702, allocations: 0.8051 MB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003293/0.3735, allocations: 2.301 MB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007628/0.3743, allocations: 437 kB / 1.098 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3755, allocations: 0.6185 MB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006617/0.3762, allocations: 0.4978 MB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.3763, allocations: 24 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.3785, allocations: 1.095 MB / 1.1 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.3788, allocations: 135.4 kB / 1.1 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.3792, allocations: 310.3 kB / 1.1 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.3811, allocations: 1.184 MB / 1.101 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3811, allocations: 0 / 1.101 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3811, allocations: 0 / 1.101 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.3811, allocations: 0 / 1.101 GB, free: 7.98 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.002145/0.3833, allocations: 1.049 MB / 1.102 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.3833, allocations: 12.03 kB / 1.103 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.3843, allocations: 172 kB / 1.103 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.3855, allocations: 0.5691 MB / 1.103 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.3859, allocations: 80.94 kB / 1.103 GB, free: 6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.3859, allocations: 40 kB / 1.103 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009693/0.3869, allocations: 0.496 MB / 1.104 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3869, allocations: 0 / 1.104 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.387, allocations: 20 kB / 1.104 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.387, allocations: 11.94 kB / 1.104 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009955/0.388, allocations: 414.6 kB / 1.104 GB, free: 5.004 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.002951/0.391, allocations: 2.277 MB / 1.106 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.392, allocations: 386.8 kB / 1.107 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.3925, allocations: 233 kB / 1.107 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.3929, allocations: 340.7 kB / 1.107 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006816/0.3936, allocations: 314.1 kB / 1.108 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.3936, allocations: 3.938 kB / 1.108 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0023/0.3959, allocations: 0.8546 MB / 1.109 GB, free: 280 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.396, allocations: 81.11 kB / 1.109 GB, free: 180 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.3965, allocations: 495 kB / 1.109 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.3966, allocations: 37.7 kB / 1.109 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.3968, allocations: 280.4 kB / 1.109 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3969, allocations: 114.4 kB / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.397, allocations: 77.62 kB / 1.11 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3972, allocations: 358.8 kB / 1.11 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.3977, allocations: 180.7 kB / 1.11 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.3982, allocations: 271.2 kB / 1.11 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009289/0.3991, allocations: 477.5 kB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3992, allocations: 4 kB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001403/0.4006, allocations: 0.6206 MB / 1.111 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.4006, allocations: 37.7 kB / 1.111 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4006, allocations: 8.156 kB / 1.111 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.401, allocations: 64.8 kB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.4014, allocations: 83.83 kB / 1.112 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004709/0.4019, allocations: 0.5991 MB / 1.112 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.4024, allocations: 71.7 kB / 1.112 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.4025, allocations: 15.98 kB / 1.112 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006089/0.4031, allocations: 319.8 kB / 1.113 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005032/0.4036, allocations: 265.2 kB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009272/0.4046, allocations: 465.1 kB / 1.113 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.4046, allocations: 0 / 1.113 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001321/0.4059, allocations: 0.6088 MB / 1.114 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.406, allocations: 34.8 kB / 1.114 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.406, allocations: 0 / 1.114 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.4061, allocations: 52.98 kB / 1.114 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.4065, allocations: 79.88 kB / 1.114 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.4083, allocations: 1.635 MB / 1.116 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.4089, allocations: 71.8 kB / 1.116 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.4089, allocations: 19.98 kB / 1.116 GB, free: 8.516 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.0003117/0.4093, allocations: 237.8 kB / 1.116 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4094, allocations: 63.38 kB / 1.116 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.4109, allocations: 0.6534 MB / 1.117 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4109, allocations: 4 kB / 1.117 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.4109, allocations: 0 / 1.117 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.4122, allocations: 0.8093 MB / 1.117 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.4145, allocations: 1.308 MB / 1.119 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4146, allocations: 0 / 1.119 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.4149, allocations: 68.03 kB / 1.119 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/0.4151, allocations: 48.78 kB / 1.119 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.4151, allocations: 11.98 kB / 1.119 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003981/0.4155, allocations: 0.5835 MB / 1.119 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4155, allocations: 0 / 1.119 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.4174, allocations: 0.9756 MB / 1.12 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.4177, allocations: 176.3 kB / 1.121 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.4178, allocations: 15.94 kB / 1.121 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.4184, allocations: 59.91 kB / 1.121 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4185, allocations: 23.97 kB / 1.121 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.4185, allocations: 19.98 kB / 1.121 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004463/0.419, allocations: 346.8 kB / 1.121 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.419, allocations: 0 / 1.121 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001154/0.4201, allocations: 339.5 kB / 1.121 GB, free: 2.531 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.0007531/0.4209, allocations: 314.8 kB / 1.122 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.423, allocations: 0.9824 MB / 1.123 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.423, allocations: 0 / 1.123 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.4236, allocations: 331.3 kB / 1.123 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4249, allocations: 239.8 kB / 1.123 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.4273, allocations: 1.313 MB / 1.124 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.4277, allocations: 0.8861 MB / 1.125 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005245/0.4283, allocations: 136.3 kB / 1.125 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4284, allocations: 47.41 kB / 1.125 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/0.4284, allocations: 0 / 1.125 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of Templates: time 0.01992/0.4483, allocations: 11.07 MB / 1.136 GB, free: 3.246 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)