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.001074/0.001073, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.496/0.496, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008405, allocations: 91.89 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.994e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1598, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.332, allocations: 352.7 MB / 0.898 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.333, allocations: 85.02 kB / 0.8981 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.815/2.148, allocations: 257.7 MB / 1.15 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/2.148, allocations: 0 / 1.15 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.562e-05/2.148, allocations: 20 kB / 1.15 GB, free: 106.6 MB / 0.5886 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.001398/2.149, allocations: 0.921 MB / 1.151 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/2.149, allocations: 12.03 kB / 1.151 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007283/2.15, allocations: 183 kB / 1.151 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01989/2.17, allocations: 11.97 MB / 1.163 GB, free: 93.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/2.17, allocations: 80.72 kB / 1.163 GB, free: 93.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/2.17, allocations: 24 kB / 1.163 GB, free: 93.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004707/2.171, allocations: 293.5 kB / 1.163 GB, free: 93.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/2.171, allocations: 416.7 kB / 1.163 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/2.171, allocations: 0 / 1.163 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/2.171, allocations: 4 kB / 1.163 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/2.171, allocations: 12.78 kB / 1.163 GB, free: 92.67 MB / 0.5886 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.002256/2.174, allocations: 2.185 MB / 1.165 GB, free: 90.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/2.174, allocations: 259.6 kB / 1.166 GB, free: 90.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/2.174, allocations: 173 kB / 1.166 GB, free: 89.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/2.174, allocations: 347.9 kB / 1.166 GB, free: 89.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/2.175, allocations: 242.8 kB / 1.166 GB, free: 89.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/2.175, allocations: 0 / 1.166 GB, free: 89.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.0009534/2.176, allocations: 478.2 kB / 1.167 GB, free: 88.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/2.176, allocations: 85.11 kB / 1.167 GB, free: 88.63 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/2.176, allocations: 369.3 kB / 1.167 GB, free: 88.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/2.176, allocations: 33.7 kB / 1.167 GB, free: 88.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/2.176, allocations: 280.2 kB / 1.168 GB, free: 87.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/2.176, allocations: 101.9 kB / 1.168 GB, free: 87.85 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/2.176, allocations: 4 kB / 1.168 GB, free: 87.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/2.176, allocations: 366.7 kB / 1.168 GB, free: 87.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/2.177, allocations: 116 kB / 1.168 GB, free: 87.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/2.177, allocations: 219 kB / 1.168 GB, free: 87.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/2.177, allocations: 160.2 kB / 1.169 GB, free: 86.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/2.177, allocations: 0 / 1.169 GB, free: 86.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007534/2.178, allocations: 0.4975 MB / 1.169 GB, free: 86.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/2.178, allocations: 0.6492 MB / 1.17 GB, free: 85.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/2.178, allocations: 7.938 kB / 1.17 GB, free: 85.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/2.178, allocations: 40.84 kB / 1.17 GB, free: 85.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/2.178, allocations: 87.88 kB / 1.17 GB, free: 85.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003104/2.179, allocations: 0.5991 MB / 1.17 GB, free: 84.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/2.179, allocations: 71.69 kB / 1.17 GB, free: 84.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/2.179, allocations: 31.91 kB / 1.17 GB, free: 84.88 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/2.179, allocations: 8 kB / 1.17 GB, free: 84.87 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00068/2.18, allocations: 424.3 kB / 1.171 GB, free: 84.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/2.18, allocations: 4 kB / 1.171 GB, free: 84.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/2.18, allocations: 49.02 kB / 1.171 GB, free: 84.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/2.181, allocations: 83.94 kB / 1.171 GB, free: 84.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009587/2.182, allocations: 1.564 MB / 1.173 GB, free: 82.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/2.182, allocations: 75.77 kB / 1.173 GB, free: 82.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/2.182, allocations: 23.98 kB / 1.173 GB, free: 82.52 MB / 0.5886 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.0001199/2.182, allocations: 141.8 kB / 1.173 GB, free: 82.38 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/2.182, allocations: 59.33 kB / 1.173 GB, free: 82.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008192/2.183, allocations: 0.5242 MB / 1.173 GB, free: 81.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/2.183, allocations: 8 kB / 1.173 GB, free: 81.78 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/2.183, allocations: 3.984 kB / 1.173 GB, free: 81.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006875/2.184, allocations: 0.6748 MB / 1.174 GB, free: 81.03 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/2.185, allocations: 1.139 MB / 1.175 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/2.185, allocations: 0 / 1.175 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/2.185, allocations: 68.05 kB / 1.175 GB, free: 79.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.228e-05/2.186, allocations: 36.84 kB / 1.175 GB, free: 79.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/2.186, allocations: 11.73 kB / 1.175 GB, free: 79.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000223/2.186, allocations: 0.5873 MB / 1.176 GB, free: 79.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.186, allocations: 0 / 1.176 GB, free: 79.11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/2.187, allocations: 0.8386 MB / 1.177 GB, free: 78.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/2.187, allocations: 184.3 kB / 1.177 GB, free: 78.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/2.187, allocations: 8.047 kB / 1.177 GB, free: 78.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/2.188, allocations: 60 kB / 1.177 GB, free: 77.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/2.188, allocations: 23.94 kB / 1.177 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/2.188, allocations: 27.97 kB / 1.177 GB, free: 77.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000222/2.188, allocations: 283 kB / 1.177 GB, free: 77.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.61e-07/2.188, allocations: 0 / 1.177 GB, free: 77.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001073/2.189, allocations: 375.2 kB / 1.178 GB, free: 77.27 MB / 0.5886 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.0006968/2.19, allocations: 415.8 kB / 1.178 GB, free: 76.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009694/2.191, allocations: 0.8131 MB / 1.179 GB, free: 76.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.191, allocations: 4 kB / 1.179 GB, free: 76.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/2.191, allocations: 263.2 kB / 1.179 GB, free: 75.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/2.192, allocations: 220.5 kB / 1.179 GB, free: 75.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/2.193, allocations: 0.7526 MB / 1.18 GB, free: 74.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/2.194, allocations: 0.8948 MB / 1.181 GB, free: 73.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005412/2.194, allocations: 140.3 kB / 1.181 GB, free: 73.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/2.194, allocations: 43.42 kB / 1.181 GB, free: 73.66 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/2.194, allocations: 0 / 1.181 GB, free: 73.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.01459/2.209, allocations: 11.34 MB / 1.192 GB, free: 62.43 MB / 0.5886 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)