Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.911/4.911, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002753/0.002752, allocations: 355 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.048/4.048, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00174/0.001739, allocations: 190.7 kB / 1.226 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005101, allocations: 16.56 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2022, allocations: 115.3 MB / 1.461 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.492, allocations: 389 MB / 1.841 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004018/1.492, allocations: 96.44 kB / 1.841 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/3.171, allocations: 253 MB / 2.088 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.464e-06/3.171, allocations: 4 kB / 2.088 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.742e-05/3.171, allocations: 19.98 kB / 2.088 GB, free: 135.2 MB / 0.9323 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.002701/3.174, allocations: 1.016 MB / 2.089 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/3.174, allocations: 8.031 kB / 2.089 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/3.176, allocations: 187 kB / 2.09 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03364/3.209, allocations: 10.92 MB / 2.1 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006027/3.21, allocations: 100.9 kB / 2.1 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/3.21, allocations: 39.91 kB / 2.1 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/3.212, allocations: 0.5047 MB / 2.101 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/3.212, allocations: 7.938 kB / 2.101 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/3.212, allocations: 19.98 kB / 2.101 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/3.212, allocations: 11.95 kB / 2.101 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/3.214, allocations: 422.6 kB / 2.101 GB, free: 121.7 MB / 0.9323 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.004609/3.218, allocations: 2.264 MB / 2.103 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/3.22, allocations: 386.9 kB / 2.104 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008555/3.221, allocations: 225.5 kB / 2.104 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/3.221, allocations: 348.7 kB / 2.104 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/3.222, allocations: 311.5 kB / 2.105 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.657e-06/3.222, allocations: 4 kB / 2.105 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.003828/3.226, allocations: 0.8936 MB / 2.106 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/3.226, allocations: 89.11 kB / 2.106 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/3.227, allocations: 490.9 kB / 2.106 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/3.227, allocations: 33.7 kB / 2.106 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/3.227, allocations: 276.4 kB / 2.106 GB, free: 116 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/3.228, allocations: 110.5 kB / 2.107 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/3.228, allocations: 8 kB / 2.107 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001048/3.228, allocations: 362.7 kB / 2.107 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/3.229, allocations: 176.6 kB / 2.107 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008222/3.229, allocations: 298 kB / 2.107 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/3.23, allocations: 233.5 kB / 2.108 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/3.23, allocations: 0 / 2.108 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002378/3.233, allocations: 0.6364 MB / 2.108 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/3.233, allocations: 167.9 kB / 2.108 GB, free: 114 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/3.233, allocations: 0 / 2.108 GB, free: 114 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/3.233, allocations: 84.8 kB / 2.108 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/3.234, allocations: 83.89 kB / 2.109 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005287/3.235, allocations: 0.5953 MB / 2.109 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/3.236, allocations: 87.62 kB / 2.109 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/3.236, allocations: 23.94 kB / 2.109 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/3.236, allocations: 7.125 kB / 2.109 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002056/3.238, allocations: 0.5736 MB / 2.11 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/3.238, allocations: 0 / 2.11 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/3.238, allocations: 56.75 kB / 2.11 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/3.239, allocations: 84.05 kB / 2.11 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/3.241, allocations: 1.635 MB / 2.111 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/3.242, allocations: 79.69 kB / 2.112 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/3.242, allocations: 19.98 kB / 2.112 GB, free: 110.5 MB / 0.9323 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004975/3.242, allocations: 296 kB / 2.112 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/3.242, allocations: 59.34 kB / 2.112 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/3.245, allocations: 0.6676 MB / 2.113 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/3.245, allocations: 4 kB / 2.113 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/3.245, allocations: 0 / 2.113 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/3.247, allocations: 0.8329 MB / 2.113 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/3.25, allocations: 1.327 MB / 2.115 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/3.251, allocations: 0 / 2.115 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/3.251, allocations: 72.03 kB / 2.115 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/3.251, allocations: 44.83 kB / 2.115 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.087e-05/3.251, allocations: 11.98 kB / 2.115 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003808/3.252, allocations: 0.5835 MB / 2.115 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/3.252, allocations: 0 / 2.115 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/3.255, allocations: 1.015 MB / 2.116 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/3.256, allocations: 192.3 kB / 2.117 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/3.256, allocations: 8 kB / 2.117 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/3.257, allocations: 63.91 kB / 2.117 GB, free: 105 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/3.257, allocations: 27.91 kB / 2.117 GB, free: 105 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/3.257, allocations: 23.98 kB / 2.117 GB, free: 105 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005283/3.257, allocations: 342.8 kB / 2.117 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.61e-07/3.257, allocations: 0 / 2.117 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001658/3.259, allocations: 383.4 kB / 2.117 GB, free: 104.3 MB / 0.9323 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009627/3.26, allocations: 410 kB / 2.118 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003068/3.263, allocations: 0.9982 MB / 2.119 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/3.263, allocations: 0 / 2.119 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009366/3.264, allocations: 332.7 kB / 2.119 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/3.266, allocations: 245.2 kB / 2.119 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/3.27, allocations: 1.343 MB / 2.121 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/3.27, allocations: 0.8939 MB / 2.121 GB, free: 99.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000905/3.271, allocations: 128.3 kB / 2.122 GB, free: 99.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/3.271, allocations: 43.42 kB / 2.122 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/3.271, allocations: 0 / 2.122 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of Templates: time 0.02979/3.301, allocations: 12 MB / 2.133 GB, free: 87.94 MB / 0.9323 GB