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.002081/0.002081, 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.002025/0.002025, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 61.66 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3394, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02226/0.3617, allocations: 20.84 MB / 1.089 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008299/0.3701, allocations: 5.4 MB / 1.094 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000671/0.3708, allocations: 31.81 kB / 1.094 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.3718, allocations: 337.8 kB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.3742, allocations: 0.9251 MB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.3767, allocations: 0.9203 MB / 1.096 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.379, allocations: 1.742 MB / 1.098 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000749/0.3797, allocations: 0.4897 MB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.3815, allocations: 0.6984 MB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.3821, allocations: 493.9 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.3822, allocations: 44 kB / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.3842, allocations: 1.115 MB / 1.1 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.3844, allocations: 143.4 kB / 1.101 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.3847, allocations: 326.3 kB / 1.101 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.3865, allocations: 1.204 MB / 1.102 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3865, allocations: 4 kB / 1.102 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3865, allocations: 0 / 1.102 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3865, allocations: 0 / 1.102 GB, free: 7.609 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.001646/0.3882, allocations: 1.049 MB / 1.103 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3882, allocations: 8.031 kB / 1.103 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.3892, allocations: 180 kB / 1.103 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.3902, allocations: 0.5536 MB / 1.104 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.3905, allocations: 84.94 kB / 1.104 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.3906, allocations: 43.94 kB / 1.104 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/0.3916, allocations: 0.4999 MB / 1.104 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3916, allocations: 0 / 1.104 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.3917, allocations: 12 kB / 1.104 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.3917, allocations: 8 kB / 1.104 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3927, allocations: 418.6 kB / 1.105 GB, free: 4.648 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.003099/0.3959, allocations: 2.293 MB / 1.107 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.397, allocations: 386.9 kB / 1.107 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.3975, allocations: 233 kB / 1.108 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.3978, allocations: 340.6 kB / 1.108 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006772/0.3985, allocations: 310.1 kB / 1.108 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.003e-06/0.3985, allocations: 0 / 1.108 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.00238/0.4009, allocations: 0.8635 MB / 1.109 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.401, allocations: 85.09 kB / 1.109 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.4015, allocations: 491 kB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.4016, allocations: 33.7 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.4018, allocations: 284.4 kB / 1.11 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.4019, allocations: 110.4 kB / 1.11 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4021, allocations: 77.69 kB / 1.11 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4022, allocations: 358.8 kB / 1.11 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.4027, allocations: 184.7 kB / 1.111 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.4033, allocations: 267.2 kB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4043, allocations: 482.1 kB / 1.111 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4043, allocations: 0 / 1.111 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001535/0.4058, allocations: 0.6238 MB / 1.112 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.4059, allocations: 41.69 kB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4059, allocations: 4 kB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.4063, allocations: 69.03 kB / 1.112 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.4067, allocations: 83.81 kB / 1.112 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005022/0.4072, allocations: 0.5991 MB / 1.113 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.4077, allocations: 55.64 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.4078, allocations: 20 kB / 1.113 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006166/0.4084, allocations: 323.8 kB / 1.113 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005486/0.4089, allocations: 261.4 kB / 1.113 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009793/0.4099, allocations: 476.9 kB / 1.114 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.4099, allocations: 0 / 1.114 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001471/0.4114, allocations: 0.5967 MB / 1.114 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.4115, allocations: 42.78 kB / 1.114 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4115, allocations: 0 / 1.114 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.4117, allocations: 48.83 kB / 1.115 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.4121, allocations: 79.98 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.4141, allocations: 1.806 MB / 1.116 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.4146, allocations: 55.77 kB / 1.116 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4147, allocations: 19.94 kB / 1.116 GB, free: 7.988 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.000294/0.415, allocations: 229.9 kB / 1.117 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.4151, allocations: 59.34 kB / 1.117 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.4167, allocations: 0.6579 MB / 1.117 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4167, allocations: 4 kB / 1.117 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.4167, allocations: 0 / 1.117 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.4181, allocations: 0.8169 MB / 1.118 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.4204, allocations: 1.307 MB / 1.119 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4204, allocations: 0 / 1.119 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.4207, allocations: 64.05 kB / 1.119 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.4209, allocations: 52.77 kB / 1.12 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.4209, allocations: 8 kB / 1.12 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003984/0.4213, allocations: 0.5797 MB / 1.12 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.4214, allocations: 0 / 1.12 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.4234, allocations: 0.9807 MB / 1.121 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.4236, allocations: 184.4 kB / 1.121 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.4237, allocations: 8 kB / 1.121 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/0.4242, allocations: 39.95 kB / 1.121 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.4243, allocations: 27.86 kB / 1.121 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.4243, allocations: 28.03 kB / 1.121 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000425/0.4248, allocations: 342.9 kB / 1.122 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4248, allocations: 0 / 1.122 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001107/0.4259, allocations: 335.4 kB / 1.122 GB, free: 2.02 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.0007385/0.4266, allocations: 303 kB / 1.122 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002286/0.4289, allocations: 1.001 MB / 1.123 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.429, allocations: 0 / 1.123 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006496/0.4296, allocations: 332 kB / 1.124 GB, free: 356 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4308, allocations: 221.5 kB / 1.124 GB, free: 148 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.4334, allocations: 1.132 MB / 1.125 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.434, allocations: 0.8745 MB / 1.126 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005322/0.4346, allocations: 132.3 kB / 1.126 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4347, allocations: 51.42 kB / 1.126 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.4347, allocations: 0 / 1.126 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of Templates: time 0.02104/0.4558, allocations: 11.32 MB / 1.137 GB, free: 2.703 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)