Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.879/1.879, allocations: 288.3 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 195.8 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008675, allocations: 98.84 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004275, allocations: 16.41 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.326, allocations: 389.2 MB / 1.359 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004752/1.326, allocations: 95.33 kB / 1.36 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.141/2.467, allocations: 254.6 MB / 1.608 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.735e-06/2.467, allocations: 0 / 1.608 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.741e-05/2.467, allocations: 16 kB / 1.608 GB, free: 178.6 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.002431/2.47, allocations: 1.028 MB / 1.609 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/2.47, allocations: 8.031 kB / 1.609 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007672/2.47, allocations: 183 kB / 1.609 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02267/2.493, allocations: 11.84 MB / 1.621 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/2.493, allocations: 92.94 kB / 1.621 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/2.494, allocations: 43.91 kB / 1.621 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/2.495, allocations: 0.5008 MB / 1.622 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/2.495, allocations: 3.938 kB / 1.622 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/2.495, allocations: 16 kB / 1.622 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/2.495, allocations: 12 kB / 1.622 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/2.496, allocations: 426.6 kB / 1.622 GB, free: 164.2 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.003359/2.499, allocations: 2.257 MB / 1.624 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/2.5, allocations: 390.9 kB / 1.625 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/2.5, allocations: 344.7 kB / 1.625 GB, free: 161 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/2.501, allocations: 309.9 kB / 1.625 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.386e-06/2.501, allocations: 3.938 kB / 1.625 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.002194/2.503, allocations: 0.9728 MB / 1.626 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/2.503, allocations: 81.11 kB / 1.626 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/2.504, allocations: 434 kB / 1.627 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/2.504, allocations: 33.7 kB / 1.627 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/2.504, allocations: 276.4 kB / 1.627 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/2.504, allocations: 110.5 kB / 1.627 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/2.504, allocations: 4 kB / 1.627 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/2.504, allocations: 366.8 kB / 1.627 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/2.505, allocations: 179.7 kB / 1.628 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/2.505, allocations: 287.9 kB / 1.628 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/2.505, allocations: 233.7 kB / 1.628 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.505, allocations: 0 / 1.628 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001109/2.506, allocations: 0.6239 MB / 1.629 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/2.507, allocations: 0.6449 MB / 1.629 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/2.507, allocations: 11.88 kB / 1.629 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/2.507, allocations: 48.83 kB / 1.629 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/2.507, allocations: 91.88 kB / 1.629 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003555/2.508, allocations: 0.5953 MB / 1.63 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/2.508, allocations: 83.69 kB / 1.63 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/2.508, allocations: 16 kB / 1.63 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/2.508, allocations: 8.078 kB / 1.63 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/2.509, allocations: 0.5721 MB / 1.631 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/2.509, allocations: 4 kB / 1.631 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/2.51, allocations: 52.75 kB / 1.631 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/2.51, allocations: 84.05 kB / 1.631 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/2.511, allocations: 1.642 MB / 1.632 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/2.512, allocations: 83.72 kB / 1.633 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/2.512, allocations: 23.98 kB / 1.633 GB, free: 152.8 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.0004118/2.512, allocations: 294.7 kB / 1.633 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/2.512, allocations: 55.34 kB / 1.633 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/2.514, allocations: 0.6689 MB / 1.634 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/2.514, allocations: 7.938 kB / 1.634 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/2.514, allocations: 0 / 1.634 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/2.515, allocations: 0.8246 MB / 1.634 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/2.517, allocations: 1.33 MB / 1.636 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/2.517, allocations: 0 / 1.636 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/2.517, allocations: 72.03 kB / 1.636 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/2.517, allocations: 40.83 kB / 1.636 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/2.517, allocations: 15.98 kB / 1.636 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002464/2.518, allocations: 0.5756 MB / 1.636 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.518, allocations: 4.031 kB / 1.636 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/2.519, allocations: 1.037 MB / 1.637 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/2.519, allocations: 184.3 kB / 1.638 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/2.519, allocations: 8 kB / 1.638 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/2.52, allocations: 83.73 kB / 1.638 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/2.52, allocations: 31.84 kB / 1.638 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/2.52, allocations: 19.98 kB / 1.638 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003229/2.52, allocations: 342.8 kB / 1.638 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.61e-07/2.52, allocations: 0 / 1.638 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001374/2.522, allocations: 375.5 kB / 1.638 GB, free: 146.5 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.0007973/2.523, allocations: 431 kB / 1.639 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001828/2.525, allocations: 0.9875 MB / 1.64 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/2.525, allocations: 0 / 1.64 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/2.525, allocations: 331.4 kB / 1.64 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/2.526, allocations: 241 kB / 1.64 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/2.528, allocations: 1.331 MB / 1.642 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/2.529, allocations: 0.9017 MB / 1.642 GB, free: 142.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005119/2.529, allocations: 120.3 kB / 1.643 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/2.529, allocations: 51.42 kB / 1.643 GB, free: 142 MB / 0.9323 GB Notification: Performance of SimCode: time 6.31e-07/2.529, allocations: 0 / 1.643 GB, free: 142 MB / 0.9323 GB Notification: Performance of Templates: time 0.01832/2.548, allocations: 11.99 MB / 1.654 GB, free: 130.2 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)