Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 289.7 MB / 302.2 MB, free: 2.098 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.001131/0.001131, allocations: 178.7 kB / 371.6 MB, free: 3.379 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.816/1.816, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 87.48 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.684e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.308, allocations: 390.1 MB / 1.361 GB, free: 6.668 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.309, allocations: 85.47 kB / 1.361 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/2.443, allocations: 253.8 MB / 1.609 GB, free: 161 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/2.443, allocations: 0 / 1.609 GB, free: 161 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.941e-05/2.443, allocations: 19.98 kB / 1.609 GB, free: 160.9 MB / 0.948 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.001812/2.445, allocations: 0.921 MB / 1.61 GB, free: 160 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/2.445, allocations: 8.031 kB / 1.61 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007796/2.446, allocations: 183 kB / 1.61 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0212/2.467, allocations: 11.76 MB / 1.621 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/2.468, allocations: 100.7 kB / 1.621 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/2.468, allocations: 40 kB / 1.621 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/2.468, allocations: 454.3 kB / 1.622 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/2.468, allocations: 4 kB / 1.622 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/2.468, allocations: 12 kB / 1.622 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/2.469, allocations: 8 kB / 1.622 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/2.469, allocations: 326.9 kB / 1.622 GB, free: 146.9 MB / 0.948 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.002559/2.472, allocations: 2.265 MB / 1.624 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/2.472, allocations: 276.6 kB / 1.625 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/2.472, allocations: 181 kB / 1.625 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/2.472, allocations: 348.7 kB / 1.625 GB, free: 143.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/2.473, allocations: 259.8 kB / 1.625 GB, free: 143.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.046e-06/2.473, allocations: 4 kB / 1.625 GB, free: 143.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0008211/2.474, allocations: 494.3 kB / 1.626 GB, free: 142.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/2.474, allocations: 85.11 kB / 1.626 GB, free: 142.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/2.474, allocations: 424.8 kB / 1.626 GB, free: 142.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/2.474, allocations: 41.7 kB / 1.626 GB, free: 142.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/2.474, allocations: 272.4 kB / 1.627 GB, free: 142 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/2.474, allocations: 114.4 kB / 1.627 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/2.474, allocations: 8 kB / 1.627 GB, free: 141.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/2.474, allocations: 358.8 kB / 1.627 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/2.475, allocations: 124 kB / 1.627 GB, free: 141.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/2.475, allocations: 228.5 kB / 1.627 GB, free: 141.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/2.475, allocations: 181.4 kB / 1.628 GB, free: 140.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/2.475, allocations: 0 / 1.628 GB, free: 140.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007349/2.476, allocations: 0.5186 MB / 1.628 GB, free: 140.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/2.476, allocations: 0.6494 MB / 1.629 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/2.476, allocations: 4 kB / 1.629 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/2.476, allocations: 48.83 kB / 1.629 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/2.477, allocations: 87.88 kB / 1.629 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003617/2.477, allocations: 0.5991 MB / 1.63 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/2.478, allocations: 79.69 kB / 1.63 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/2.478, allocations: 27.98 kB / 1.63 GB, free: 138.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/2.478, allocations: 4 kB / 1.63 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006524/2.478, allocations: 478.2 kB / 1.63 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/2.478, allocations: 0 / 1.63 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/2.479, allocations: 53.02 kB / 1.63 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/2.479, allocations: 83.88 kB / 1.63 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/2.48, allocations: 1.631 MB / 1.632 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/2.481, allocations: 79.73 kB / 1.632 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/2.481, allocations: 31.86 kB / 1.632 GB, free: 136.3 MB / 0.948 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 () * 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.0001741/2.481, allocations: 157.2 kB / 1.632 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/2.481, allocations: 63.19 kB / 1.632 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008629/2.482, allocations: 0.5789 MB / 1.633 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/2.482, allocations: 4 kB / 1.633 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/2.482, allocations: 0 / 1.633 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006538/2.482, allocations: 0.7247 MB / 1.633 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/2.484, allocations: 1.225 MB / 1.635 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.484, allocations: 4 kB / 1.635 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/2.484, allocations: 75.97 kB / 1.635 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/2.484, allocations: 40.84 kB / 1.635 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/2.484, allocations: 15.98 kB / 1.635 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002231/2.485, allocations: 0.5758 MB / 1.635 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.485, allocations: 3.984 kB / 1.635 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009279/2.486, allocations: 0.8832 MB / 1.636 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/2.486, allocations: 188.3 kB / 1.636 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/2.486, allocations: 8 kB / 1.636 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/2.486, allocations: 75.8 kB / 1.636 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/2.486, allocations: 23.97 kB / 1.636 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/2.486, allocations: 27.92 kB / 1.636 GB, free: 131.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003067/2.487, allocations: 329.6 kB / 1.637 GB, free: 131 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/2.487, allocations: 0 / 1.637 GB, free: 131 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001216/2.488, allocations: 375.5 kB / 1.637 GB, free: 130.7 MB / 0.948 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) * 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.0007091/2.489, allocations: 438.7 kB / 1.638 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001084/2.49, allocations: 0.8328 MB / 1.638 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/2.49, allocations: 0 / 1.638 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/2.49, allocations: 276.6 kB / 1.639 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/2.491, allocations: 238.9 kB / 1.639 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/2.493, allocations: 0.7836 MB / 1.64 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/2.493, allocations: 0.8911 MB / 1.64 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005823/2.494, allocations: 160.2 kB / 1.641 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.477e-05/2.494, allocations: 39.42 kB / 1.641 GB, free: 126.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/2.494, allocations: 0 / 1.641 GB, free: 126.9 MB / 0.948 GB Notification: Performance of Templates: time 0.01806/2.512, allocations: 13.29 MB / 1.654 GB, free: 113.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)