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.0009373/0.0009375, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005216/0.005216, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 15.84 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3081, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.0194/0.3275, allocations: 20.16 MB / 1.094 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007461/0.335, allocations: 5.408 MB / 1.099 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.3356, allocations: 15.88 kB / 1.099 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.3363, allocations: 286.4 kB / 1.099 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.3382, allocations: 0.8516 MB / 1.1 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.3402, allocations: 0.8163 MB / 1.101 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.3426, allocations: 2.289 MB / 1.103 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006226/0.3432, allocations: 436.7 kB / 1.104 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009917/0.3443, allocations: 0.6108 MB / 1.104 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.3449, allocations: 493.8 kB / 1.105 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.345, allocations: 24 kB / 1.105 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.3468, allocations: 1.092 MB / 1.106 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.347, allocations: 127.4 kB / 1.106 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.3473, allocations: 324 kB / 1.106 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.3489, allocations: 1.172 MB / 1.107 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3489, allocations: 8 kB / 1.107 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3489, allocations: 0 / 1.107 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3489, allocations: 0 / 1.107 GB, free: 5.328 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.00155/0.3505, allocations: 0.9248 MB / 1.108 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3505, allocations: 12.03 kB / 1.108 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.3514, allocations: 192 kB / 1.108 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.3524, allocations: 0.5727 MB / 1.109 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.3528, allocations: 96.94 kB / 1.109 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.3528, allocations: 40 kB / 1.109 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.3538, allocations: 0.5038 MB / 1.11 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3538, allocations: 0 / 1.11 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.3539, allocations: 16 kB / 1.11 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.3539, allocations: 12 kB / 1.11 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.355, allocations: 430.6 kB / 1.11 GB, free: 2.418 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.003338/0.3583, allocations: 2.281 MB / 1.112 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3595, allocations: 402.9 kB / 1.113 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.36, allocations: 241 kB / 1.113 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.3603, allocations: 336.7 kB / 1.113 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006451/0.361, allocations: 326 kB / 1.114 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.361, allocations: 4 kB / 1.114 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002515/0.3635, allocations: 0.8858 MB / 1.114 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.3636, allocations: 81.11 kB / 1.115 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/0.3643, allocations: 0.4912 MB / 1.115 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.3644, allocations: 37.64 kB / 1.115 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.3646, allocations: 276.4 kB / 1.115 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3647, allocations: 110.4 kB / 1.115 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.3648, allocations: 37.7 kB / 1.115 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.365, allocations: 362.8 kB / 1.116 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.3655, allocations: 175.9 kB / 1.116 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.366, allocations: 279.1 kB / 1.116 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.367, allocations: 493.6 kB / 1.117 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.367, allocations: 7.938 kB / 1.117 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001461/0.3685, allocations: 0.6286 MB / 1.117 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.3686, allocations: 167.8 kB / 1.117 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3687, allocations: 8 kB / 1.117 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.369, allocations: 72.73 kB / 1.118 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.3694, allocations: 79.89 kB / 1.118 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000481/0.3699, allocations: 0.5992 MB / 1.118 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.3704, allocations: 71.7 kB / 1.118 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.3705, allocations: 19.98 kB / 1.118 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.3705, allocations: 5.875 kB / 1.118 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.3718, allocations: 0.5605 MB / 1.119 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3718, allocations: 4 kB / 1.119 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.3719, allocations: 52.97 kB / 1.119 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.3723, allocations: 75.89 kB / 1.119 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.3738, allocations: 1.65 MB / 1.121 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.3743, allocations: 79.72 kB / 1.121 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.3743, allocations: 19.98 kB / 1.121 GB, free: 6.871 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.0003208/0.3747, allocations: 299.2 kB / 1.121 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.3748, allocations: 59.34 kB / 1.121 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.3762, allocations: 0.6651 MB / 1.122 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3763, allocations: 0 / 1.122 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.3763, allocations: 8 kB / 1.122 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.3776, allocations: 0.8207 MB / 1.123 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.3799, allocations: 1.331 MB / 1.124 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3799, allocations: 0 / 1.124 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.3802, allocations: 71.98 kB / 1.124 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.3804, allocations: 44.83 kB / 1.124 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.3804, allocations: 12 kB / 1.124 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003594/0.3808, allocations: 0.5758 MB / 1.124 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3808, allocations: 7.969 kB / 1.124 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.3827, allocations: 0.995 MB / 1.125 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.383, allocations: 184.3 kB / 1.126 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.3831, allocations: 8 kB / 1.126 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.3836, allocations: 71.84 kB / 1.126 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.3837, allocations: 23.97 kB / 1.126 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.3838, allocations: 19.98 kB / 1.126 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003917/0.3841, allocations: 346.8 kB / 1.126 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3842, allocations: 3.938 kB / 1.126 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001035/0.3852, allocations: 339.5 kB / 1.126 GB, free: 0.75 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.0006308/0.3858, allocations: 314.3 kB / 1.127 GB, free: 452 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.388, allocations: 1.006 MB / 1.128 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.388, allocations: 0 / 1.128 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.3886, allocations: 331.4 kB / 1.128 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.3901, allocations: 247.1 kB / 1.128 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.3924, allocations: 1.388 MB / 1.13 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.393, allocations: 0.8823 MB / 1.13 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005219/0.3935, allocations: 128.4 kB / 1.131 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3936, allocations: 47.42 kB / 1.131 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/0.3936, allocations: 4 kB / 1.131 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of Templates: time 0.01999/0.4136, allocations: 11 MB / 1.141 GB, free: 1.434 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)