Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.557/0.557, allocations: 92 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 223.2 MB / 354.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 106.9 kB / 427.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 8 kB / 0.4982 GB, free: 42.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 72.31 MB / 0.5689 GB, free: 1.902 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.312, allocations: 353.4 MB / 0.914 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.312, allocations: 90.64 kB / 0.9141 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8458/2.158, allocations: 260.1 MB / 1.168 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.819e-06/2.158, allocations: 0 / 1.168 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001524/2.158, allocations: 20 kB / 1.168 GB, free: 114.7 MB / 0.6042 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.003643/2.162, allocations: 1.029 MB / 1.169 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/2.162, allocations: 12.03 kB / 1.169 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/2.163, allocations: 179 kB / 1.169 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/2.186, allocations: 12.1 MB / 1.181 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/2.187, allocations: 96.92 kB / 1.181 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/2.187, allocations: 40 kB / 1.181 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/2.188, allocations: 0.5085 MB / 1.182 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/2.188, allocations: 7.984 kB / 1.182 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/2.188, allocations: 12 kB / 1.182 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/2.188, allocations: 16.66 kB / 1.182 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/2.189, allocations: 422.6 kB / 1.182 GB, free: 100.3 MB / 0.6042 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.003171/2.192, allocations: 2.268 MB / 1.184 GB, free: 97.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/2.193, allocations: 391.7 kB / 1.185 GB, free: 97.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/2.194, allocations: 340.6 kB / 1.185 GB, free: 97.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/2.194, allocations: 312.2 kB / 1.185 GB, free: 96.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/2.194, allocations: 4 kB / 1.185 GB, free: 96.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002073/2.196, allocations: 0.9612 MB / 1.186 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/2.196, allocations: 85.09 kB / 1.186 GB, free: 95.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/2.197, allocations: 434.1 kB / 1.187 GB, free: 95.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/2.197, allocations: 33.7 kB / 1.187 GB, free: 95.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/2.197, allocations: 284.4 kB / 1.187 GB, free: 94.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/2.197, allocations: 102.5 kB / 1.187 GB, free: 94.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/2.197, allocations: 8 kB / 1.187 GB, free: 94.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/2.197, allocations: 370.7 kB / 1.188 GB, free: 94.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/2.198, allocations: 175.9 kB / 1.188 GB, free: 94.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/2.198, allocations: 284.3 kB / 1.188 GB, free: 93.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/2.199, allocations: 226.4 kB / 1.188 GB, free: 93.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.199, allocations: 0 / 1.188 GB, free: 93.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001229/2.2, allocations: 0.6359 MB / 1.189 GB, free: 92.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/2.2, allocations: 0.6506 MB / 1.19 GB, free: 92.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/2.2, allocations: 0 / 1.19 GB, free: 92.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/2.2, allocations: 48.83 kB / 1.19 GB, free: 92.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/2.201, allocations: 87.88 kB / 1.19 GB, free: 92.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003678/2.201, allocations: 0.5953 MB / 1.19 GB, free: 91.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/2.202, allocations: 83.69 kB / 1.19 GB, free: 91.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/2.202, allocations: 23.94 kB / 1.19 GB, free: 91.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/2.202, allocations: 4 kB / 1.19 GB, free: 91.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/2.203, allocations: 0.5683 MB / 1.191 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/2.203, allocations: 7.969 kB / 1.191 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/2.203, allocations: 52.89 kB / 1.191 GB, free: 90.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/2.203, allocations: 84.03 kB / 1.191 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/2.205, allocations: 1.631 MB / 1.193 GB, free: 88.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/2.205, allocations: 83.69 kB / 1.193 GB, free: 88.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/2.205, allocations: 23.98 kB / 1.193 GB, free: 88.8 MB / 0.6042 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.0004119/2.206, allocations: 295.3 kB / 1.193 GB, free: 88.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/2.206, allocations: 59.3 kB / 1.193 GB, free: 88.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/2.207, allocations: 0.6698 MB / 1.194 GB, free: 87.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/2.207, allocations: 4 kB / 1.194 GB, free: 87.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/2.207, allocations: 0 / 1.194 GB, free: 87.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/2.209, allocations: 0.8285 MB / 1.195 GB, free: 86.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/2.211, allocations: 1.323 MB / 1.196 GB, free: 85.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/2.211, allocations: 7.938 kB / 1.196 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/2.211, allocations: 72.03 kB / 1.196 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/2.211, allocations: 44.77 kB / 1.196 GB, free: 85.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/2.211, allocations: 24.11 kB / 1.196 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000252/2.212, allocations: 0.5718 MB / 1.197 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/2.212, allocations: 0 / 1.197 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/2.213, allocations: 1.047 MB / 1.198 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/2.214, allocations: 196.3 kB / 1.198 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/2.214, allocations: 11.94 kB / 1.198 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/2.214, allocations: 71.91 kB / 1.198 GB, free: 83.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/2.214, allocations: 15.97 kB / 1.198 GB, free: 83.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/2.214, allocations: 23.98 kB / 1.198 GB, free: 83.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003743/2.215, allocations: 342.8 kB / 1.198 GB, free: 82.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/2.215, allocations: 0 / 1.198 GB, free: 82.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001404/2.216, allocations: 383.4 kB / 1.199 GB, free: 82.55 MB / 0.6042 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.0009162/2.217, allocations: 424.5 kB / 1.199 GB, free: 82.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001894/2.219, allocations: 0.9832 MB / 1.2 GB, free: 81.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.219, allocations: 4 kB / 1.2 GB, free: 81.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000524/2.22, allocations: 323.4 kB / 1.2 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/2.221, allocations: 252 kB / 1.2 GB, free: 80.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/2.223, allocations: 1.339 MB / 1.202 GB, free: 79.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/2.224, allocations: 0.8979 MB / 1.203 GB, free: 78.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005767/2.224, allocations: 124.5 kB / 1.203 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/2.224, allocations: 55.36 kB / 1.203 GB, free: 78.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.353e-06/2.224, allocations: 0 / 1.203 GB, free: 78.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.01917/2.243, allocations: 11.97 MB / 1.214 GB, free: 66.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)