Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/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_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.715/1.715, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 174.9 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 94.88 kB / 0.7808 GB, free: 43.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004198, allocations: 16 kB / 0.9088 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.744, allocations: 120.3 MB / 1.026 GB, free: 56.37 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.753, allocations: 392.6 MB / 1.41 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.753, allocations: 87.33 kB / 1.41 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5034/2.257, allocations: 257.9 MB / 1.662 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.816e-06/2.257, allocations: 0 / 1.662 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.702e-05/2.257, allocations: 16 kB / 1.662 GB, free: 15.5 MB / 0.9636 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.002485/2.259, allocations: 1.023 MB / 1.663 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/2.259, allocations: 8.031 kB / 1.663 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007838/2.26, allocations: 183.9 kB / 1.663 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/2.283, allocations: 11.14 MB / 1.674 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/2.284, allocations: 93.5 kB / 1.674 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.579e-05/2.284, allocations: 44.31 kB / 1.674 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/2.285, allocations: 0.5127 MB / 1.674 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/2.285, allocations: 0 / 1.674 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/2.285, allocations: 19.98 kB / 1.674 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/2.285, allocations: 12 kB / 1.674 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009637/2.286, allocations: 426.6 kB / 1.675 GB, free: 1.809 MB / 0.9636 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.003293/2.289, allocations: 2.253 MB / 1.677 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/2.29, allocations: 390.9 kB / 1.677 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/2.291, allocations: 233 kB / 1.678 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/2.291, allocations: 348.5 kB / 1.678 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/2.291, allocations: 311.6 kB / 1.678 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 4.398e-06/2.292, allocations: 0 / 1.678 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.002327/2.294, allocations: 0.9026 MB / 1.679 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/2.294, allocations: 89.03 kB / 1.679 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006033/2.295, allocations: 490.9 kB / 1.68 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.902e-05/2.295, allocations: 33.7 kB / 1.68 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/2.295, allocations: 284.4 kB / 1.68 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/2.295, allocations: 102.5 kB / 1.68 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/2.295, allocations: 8 kB / 1.68 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001776/2.295, allocations: 368.2 kB / 1.68 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/2.296, allocations: 175.9 kB / 1.681 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/2.296, allocations: 279.7 kB / 1.681 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/2.297, allocations: 482.5 kB / 1.681 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/2.297, allocations: 4 kB / 1.681 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001412/2.299, allocations: 0.6511 MB / 1.682 GB, free: 10 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/2.299, allocations: 164 kB / 1.682 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/2.299, allocations: 4 kB / 1.682 GB, free: 9.809 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/2.299, allocations: 64.84 kB / 1.682 GB, free: 9.742 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/2.299, allocations: 87.88 kB / 1.682 GB, free: 9.656 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004794/2.3, allocations: 0.6069 MB / 1.683 GB, free: 9.023 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/2.301, allocations: 79.7 kB / 1.683 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/2.301, allocations: 19.98 kB / 1.683 GB, free: 8.926 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/2.301, allocations: 4 kB / 1.683 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/2.302, allocations: 0.5722 MB / 1.684 GB, free: 8.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/2.302, allocations: 8 kB / 1.684 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/2.302, allocations: 44.83 kB / 1.684 GB, free: 8.285 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/2.302, allocations: 88.03 kB / 1.684 GB, free: 8.199 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/2.304, allocations: 1.63 MB / 1.685 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/2.305, allocations: 87.72 kB / 1.685 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/2.305, allocations: 16 kB / 1.685 GB, free: 6.316 MB / 0.9792 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.000441/2.305, allocations: 297.1 kB / 1.686 GB, free: 6.012 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/2.305, allocations: 59.34 kB / 1.686 GB, free: 5.953 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/2.307, allocations: 0.6805 MB / 1.686 GB, free: 5.25 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/2.307, allocations: 8 kB / 1.686 GB, free: 5.242 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/2.307, allocations: 0 / 1.686 GB, free: 5.242 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/2.308, allocations: 0.8326 MB / 1.687 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/2.31, allocations: 1.335 MB / 1.688 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/2.31, allocations: 0 / 1.688 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/2.311, allocations: 71.98 kB / 1.689 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/2.311, allocations: 40.83 kB / 1.689 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/2.311, allocations: 12 kB / 1.689 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003877/2.311, allocations: 0.5757 MB / 1.689 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/2.311, allocations: 4.031 kB / 1.689 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/2.313, allocations: 1.023 MB / 1.69 GB, free: 1.133 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/2.314, allocations: 184.4 kB / 1.69 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/2.314, allocations: 12 kB / 1.69 GB, free: 0.9219 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/2.314, allocations: 67.84 kB / 1.69 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/2.314, allocations: 31.91 kB / 1.69 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/2.314, allocations: 23.97 kB / 1.69 GB, free: 0.8008 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004164/2.315, allocations: 334.9 kB / 1.691 GB, free: 488 kB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/2.315, allocations: 0 / 1.691 GB, free: 488 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00134/2.316, allocations: 379.5 kB / 1.691 GB, free: 108 kB / 0.9792 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.4972/2.813, allocations: 417.5 kB / 1.692 GB, free: 235.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002573/2.816, allocations: 0.9806 MB / 1.693 GB, free: 235.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/2.816, allocations: 0.9688 kB / 1.693 GB, free: 235.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/2.817, allocations: 323 kB / 1.693 GB, free: 235.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/2.818, allocations: 237.7 kB / 1.693 GB, free: 235.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/2.821, allocations: 1.341 MB / 1.694 GB, free: 234.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/2.821, allocations: 0.8814 MB / 1.695 GB, free: 233.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006852/2.822, allocations: 127 kB / 1.695 GB, free: 233.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/2.822, allocations: 45.47 kB / 1.695 GB, free: 233.9 MB / 0.9792 GB Notification: Performance of SimCode: time 3.146e-06/2.822, allocations: 0 / 1.695 GB, free: 233.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.024/2.846, allocations: 12.16 MB / 1.707 GB, free: 233.8 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)