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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5537/0.5537, allocations: 94.7 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001212/0.001212, allocations: 181.9 kB / 130.7 MB, free: 7.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.768/1.768, allocations: 170.5 MB / 324.5 MB, free: 4.051 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00181/0.00181, allocations: 107.8 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.739e-05/4.741e-05, allocations: 7.938 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5166, allocations: 61.51 MB / 0.5054 GB, free: 49.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.805, allocations: 405.1 MB / 0.9009 GB, free: 184 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.805, allocations: 86.83 kB / 0.901 GB, free: 184 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3755/2.181, allocations: 194.2 MB / 1.091 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.655e-06/2.181, allocations: 0 / 1.091 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.952e-05/2.181, allocations: 20 kB / 1.091 GB, free: 15.94 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001751/2.183, allocations: 0.886 MB / 1.092 GB, free: 15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/2.183, allocations: 8.031 kB / 1.092 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/2.183, allocations: 87.14 kB / 1.092 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/2.184, allocations: 0.6534 MB / 1.092 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/2.184, allocations: 33 kB / 1.092 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/2.185, allocations: 47.95 kB / 1.092 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/2.185, allocations: 0.5325 MB / 1.093 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/2.185, allocations: 0 / 1.093 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/2.185, allocations: 20 kB / 1.093 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/2.186, allocations: 12 kB / 1.093 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/2.186, allocations: 354.9 kB / 1.093 GB, free: 13.18 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.00239/2.189, allocations: 2.421 MB / 1.096 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/2.189, allocations: 266.5 kB / 1.096 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/2.189, allocations: 141.3 kB / 1.096 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/2.19, allocations: 1.132 MB / 1.097 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/2.19, allocations: 261.6 kB / 1.097 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.886e-06/2.19, allocations: 4 kB / 1.097 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.01631/2.207, allocations: 2.369 MB / 1.1 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/2.207, allocations: 213.9 kB / 1.1 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/2.207, allocations: 468.9 kB / 1.1 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/2.207, allocations: 33.7 kB / 1.1 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/2.208, allocations: 327.8 kB / 1.101 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/2.208, allocations: 130.2 kB / 1.101 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/2.208, allocations: 8.109 kB / 1.101 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001283/2.208, allocations: 378.7 kB / 1.101 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/2.208, allocations: 133.1 kB / 1.101 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/2.208, allocations: 330.3 kB / 1.102 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/2.209, allocations: 216.4 kB / 1.102 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/2.209, allocations: 0 / 1.102 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008707/2.209, allocations: 0.6248 MB / 1.102 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003694/2.21, allocations: 1.692 MB / 1.104 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/2.21, allocations: 4 kB / 1.104 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/2.211, allocations: 226.4 kB / 1.104 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/2.211, allocations: 79.84 kB / 1.104 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4/2.611, allocations: 1.205 MB / 1.106 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/2.612, allocations: 44.77 kB / 1.106 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/2.612, allocations: 24 kB / 1.106 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/2.612, allocations: 8.406 kB / 1.106 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/2.614, allocations: 0.6583 MB / 1.106 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/2.614, allocations: 5.062 kB / 1.106 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/2.614, allocations: 133.5 kB / 1.106 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/2.614, allocations: 81.38 kB / 1.106 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/2.616, allocations: 2.235 MB / 1.109 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/2.617, allocations: 40.23 kB / 1.109 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/2.617, allocations: 29.86 kB / 1.109 GB, free: 122 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/2.617, allocations: 175.2 kB / 1.109 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/2.617, allocations: 65.03 kB / 1.109 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/2.618, allocations: 0.5592 MB / 1.109 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/2.618, allocations: 3.469 kB / 1.109 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/2.618, allocations: 0 / 1.109 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/2.618, allocations: 3.656 kB / 1.109 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/2.62, allocations: 1.113 MB / 1.111 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/2.62, allocations: 0 / 1.111 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/2.62, allocations: 54.12 kB / 1.111 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/2.621, allocations: 176.5 kB / 1.111 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/2.621, allocations: 15.78 kB / 1.111 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005874/2.622, allocations: 1.134 MB / 1.112 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/2.622, allocations: 2.828 kB / 1.112 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/2.623, allocations: 0.7751 MB / 1.113 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/2.623, allocations: 176.4 kB / 1.113 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/2.624, allocations: 13.59 kB / 1.113 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/2.624, allocations: 34.97 kB / 1.113 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/2.624, allocations: 31.56 kB / 1.113 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/2.624, allocations: 19.36 kB / 1.113 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004494/2.625, allocations: 356.8 kB / 1.113 GB, free: 120 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/2.625, allocations: 0 / 1.113 GB, free: 120 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001736/2.626, allocations: 495.4 kB / 1.114 GB, free: 120 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dyn.medium.T) * Number of discrete variables: 5 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent) * Number of discrete states: 5 (QSen_flow.last,QSen_flow.nextEvent,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/2.628, allocations: 0.5091 MB / 1.114 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001853/2.629, allocations: 0.9201 MB / 1.115 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.629, allocations: 5.281 kB / 1.115 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/2.63, allocations: 247.4 kB / 1.115 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/2.631, allocations: 256.9 kB / 1.116 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/2.632, allocations: 0.757 MB / 1.116 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/2.633, allocations: 0.9114 MB / 1.117 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006878/2.633, allocations: 174.5 kB / 1.117 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/2.634, allocations: 36.22 kB / 1.117 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/2.634, allocations: 0 / 1.117 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.03111/2.665, allocations: 16.74 MB / 1.134 GB, free: 118.4 MB / 0.5261 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)