Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7954/0.7954, allocations: 130.7 MB / 138.7 MB, free: 3.648 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 391.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 95.5 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.082e-05, allocations: 4 kB / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4771, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8822/1.359, allocations: 424.5 MB / 1.043 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.36, allocations: 94.62 kB / 1.043 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 48.78/50.14, allocations: 10.42 GB / 11.46 GB, free: 58.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.184e-06/50.14, allocations: 0 / 11.46 GB, free: 58.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003202/50.14, allocations: 353.3 kB / 11.46 GB, free: 58.11 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04943/50.19, allocations: 11.18 MB / 11.48 GB, free: 55.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/50.19, allocations: 8.156 kB / 11.48 GB, free: 55.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/50.21, allocations: 2.241 MB / 11.48 GB, free: 55.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06818/50.28, allocations: 18.74 MB / 11.5 GB, free: 52.94 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007101/50.28, allocations: 195.9 kB / 11.5 GB, free: 52.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005172/50.28, allocations: 439.1 kB / 11.5 GB, free: 52.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03649/50.32, allocations: 17.89 MB / 11.51 GB, free: 52.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03846/50.36, allocations: 12.21 MB / 11.53 GB, free: 52.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005151/50.36, allocations: 18.39 kB / 11.53 GB, free: 52.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/50.36, allocations: 9.719 kB / 11.53 GB, free: 52.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/50.36, allocations: 153.2 kB / 11.53 GB, free: 52.32 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.1413/50.5, allocations: 69.18 MB / 11.59 GB, free: 20.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/50.52, allocations: 10.23 MB / 11.6 GB, free: 20.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01397/50.53, allocations: 8.795 MB / 11.61 GB, free: 20.3 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 evalFunc (simulation): time 0.0762/50.61, allocations: 29.39 MB / 11.64 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01561/50.63, allocations: 7.982 MB / 11.65 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05232/50.68, allocations: 15.11 MB / 11.66 GB, free: 11.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=393): time 9.558e-05/50.68, allocations: 0 / 11.66 GB, free: 11.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=395): time 0.1144/50.79, allocations: 37.21 MB / 11.7 GB, free: 8.914 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/50.79, allocations: 96.34 kB / 11.7 GB, free: 8.848 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03301/50.83, allocations: 11.29 MB / 11.71 GB, free: 8.137 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00391/50.83, allocations: 36.86 kB / 11.71 GB, free: 8.105 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00956/50.84, allocations: 6.026 MB / 11.72 GB, free: 6.758 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004736/50.84, allocations: 1.292 MB / 11.72 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003581/50.85, allocations: 0 / 11.72 GB, free: 5.891 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007559/50.85, allocations: 0.5359 MB / 11.72 GB, free: 5.574 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01169/50.86, allocations: 6.918 MB / 11.73 GB, free: 5.551 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01454/50.88, allocations: 9.32 MB / 11.73 GB, free: 2.711 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/50.89, allocations: 7.971 MB / 11.74 GB, free: 15.92 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/50.89, allocations: 14.5 kB / 11.74 GB, free: 15.92 MB / 0.9637 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.06636/50.96, allocations: 22.95 MB / 11.76 GB, free: 7.602 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.01306/50.97, allocations: 29.59 MB / 11.79 GB, free: 8.59 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002633/50.97, allocations: 49.02 kB / 11.79 GB, free: 8.59 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841/52.81, allocations: 173.9 MB / 11.96 GB, free: 99.68 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008511/52.82, allocations: 1.285 MB / 11.96 GB, free: 99.68 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05565/52.88, allocations: 25.49 MB / 11.99 GB, free: 95.72 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0223/52.9, allocations: 0.8184 MB / 11.99 GB, free: 95.72 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005207/52.91, allocations: 0.7287 MB / 11.99 GB, free: 95.72 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/52.91, allocations: 5.969 kB / 11.99 GB, free: 95.72 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05856/52.97, allocations: 20.89 MB / 12.01 GB, free: 95.48 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003161/52.97, allocations: 45.47 kB / 12.01 GB, free: 95.48 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8755/53.84, allocations: 167.2 MB / 12.17 GB, free: 29.45 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/53.85, allocations: 1.284 MB / 12.18 GB, free: 28.27 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05768/53.91, allocations: 28.33 MB / 12.2 GB, free: 7.766 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0193/53.92, allocations: 0.788 MB / 12.2 GB, free: 7.039 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003984/53.93, allocations: 0.6872 MB / 12.2 GB, free: 6.398 MB / 0.9949 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 548 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003767/53.93, allocations: 290.6 kB / 12.21 GB, free: 6.234 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005065/53.94, allocations: 1.151 MB / 12.21 GB, free: 5.707 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038/54.98, allocations: 17.31 MB / 12.22 GB, free: 110.2 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/54.98, allocations: 48.47 kB / 12.22 GB, free: 110.2 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/54.98, allocations: 0.625 kB / 12.22 GB, free: 110.2 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02244/55, allocations: 12.5 MB / 12.24 GB, free: 109.8 MB / 1.011 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 postOpt removeSimpleEquations (simulation): time 0.1496/55.15, allocations: 45.46 MB / 12.28 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.316e-05/55.15, allocations: 0 / 12.28 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00428/55.15, allocations: 0.6912 MB / 12.28 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2148/55.37, allocations: 47.69 MB / 12.33 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002004/55.37, allocations: 75.39 kB / 12.33 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/55.39, allocations: 13.17 MB / 12.34 GB, free: 99.75 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/55.39, allocations: 0.5625 kB / 12.34 GB, free: 99.75 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1573/55.55, allocations: 41.08 MB / 12.38 GB, free: 98.69 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01189/55.56, allocations: 2.583 MB / 12.38 GB, free: 98.59 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006656/55.57, allocations: 0 / 12.38 GB, free: 98.59 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01503/55.58, allocations: 0.6199 MB / 12.38 GB, free: 98.59 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002104/55.59, allocations: 299.9 kB / 12.38 GB, free: 98.59 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001764/55.59, allocations: 202.5 kB / 12.38 GB, free: 98.59 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.02258/55.61, allocations: 8.458 MB / 12.39 GB, free: 98.23 MB / 1.011 GB Notification: Performance of sort global known variables: time 3.4e-07/55.61, allocations: 0 / 12.39 GB, free: 98.23 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.04741/55.66, allocations: 5.745 MB / 12.4 GB, free: 98.23 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (324): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009112/55.67, allocations: 4.719 MB / 12.4 GB, free: 96.42 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.06904/55.74, allocations: 28.69 MB / 12.43 GB, free: 95.76 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/55.74, allocations: 0 / 12.43 GB, free: 95.76 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.01743/55.75, allocations: 7.219 MB / 12.44 GB, free: 95.66 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03807/55.79, allocations: 6.026 MB / 12.44 GB, free: 95.6 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04419/55.84, allocations: 18.53 MB / 12.46 GB, free: 91.73 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009425/55.85, allocations: 6.841 MB / 12.47 GB, free: 90.78 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.02883/55.87, allocations: 5.757 MB / 12.47 GB, free: 87.67 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/55.88, allocations: 0.6051 MB / 12.47 GB, free: 87.17 MB / 1.011 GB Notification: Performance of SimCode: time 1.463e-06/55.88, allocations: 0 / 12.47 GB, free: 87.17 MB / 1.011 GB Notification: Performance of Templates: time 1.48/57.36, allocations: 367.5 MB / 12.83 GB, free: 74.97 MB / 1.011 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)