Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.69/0.69, allocations: 130.6 MB / 143.8 MB, free: 13.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 396.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008907, allocations: 95.2 kB / 478.9 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.015e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1824, allocations: 81.58 MB / 0.6347 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/1.478, allocations: 424.5 MB / 1.049 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/1.479, allocations: 91.95 kB / 1.049 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.52/47.99, allocations: 10.53 GB / 11.58 GB, free: 62.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.376e-06/47.99, allocations: 3.094 kB / 11.58 GB, free: 62.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.002785/48, allocations: 398.2 kB / 11.58 GB, free: 62.64 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.04489/48.04, allocations: 12.16 MB / 11.59 GB, free: 57.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/48.04, allocations: 9.188 kB / 11.59 GB, free: 57.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/48.06, allocations: 2.2 MB / 11.59 GB, free: 56.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06113/48.12, allocations: 20.27 MB / 11.61 GB, free: 53.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007632/48.12, allocations: 0.6013 MB / 11.62 GB, free: 53.97 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003726/48.12, allocations: 0.8093 MB / 11.62 GB, free: 53.97 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/48.15, allocations: 13.99 MB / 11.63 GB, free: 53.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/48.15, allocations: 18.75 kB / 11.63 GB, free: 53.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/48.15, allocations: 295.4 kB / 11.63 GB, free: 53.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/48.15, allocations: 180.7 kB / 11.63 GB, free: 53.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03179/48.18, allocations: 18.05 MB / 11.65 GB, free: 53.09 MB / 0.9636 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.1176/48.3, allocations: 74.28 MB / 11.72 GB, free: 18.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/48.31, allocations: 9.527 MB / 11.73 GB, free: 18.79 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01054/48.32, allocations: 8.488 MB / 11.74 GB, free: 17.39 MB / 0.9636 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.05685/48.38, allocations: 30.29 MB / 11.77 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01833/48.4, allocations: 8.6 MB / 11.78 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04322/48.44, allocations: 14.98 MB / 11.79 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=427): time 5.004e-05/48.44, allocations: 0 / 11.79 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of matching and sorting (n=613): time 1.217/49.66, allocations: 73.45 MB / 11.86 GB, free: 95.67 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/49.66, allocations: 117.5 kB / 11.86 GB, free: 95.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04454/49.7, allocations: 12.78 MB / 11.87 GB, free: 94.87 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.004699/49.71, allocations: 193.8 kB / 11.88 GB, free: 94.84 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01589/49.72, allocations: 6.679 MB / 11.88 GB, free: 93.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006715/49.73, allocations: 2.072 MB / 11.88 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0051/49.74, allocations: 156.7 kB / 11.88 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001078/49.74, allocations: 0.6173 MB / 11.88 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02173/49.76, allocations: 7.814 MB / 11.89 GB, free: 92.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02599/49.79, allocations: 10.58 MB / 11.9 GB, free: 89.22 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02188/49.81, allocations: 8.799 MB / 11.91 GB, free: 89.05 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/49.81, allocations: 17.34 kB / 11.91 GB, free: 89.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.05888/49.87, allocations: 25.96 MB / 11.94 GB, free: 88 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007197/49.87, allocations: 34.9 MB / 11.97 GB, free: 51.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002279/49.87, allocations: 55.61 kB / 11.97 GB, free: 51.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6245/50.5, allocations: 146.4 MB / 12.11 GB, free: 49.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/50.51, allocations: 1.961 MB / 12.12 GB, free: 47.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03591/50.55, allocations: 24.61 MB / 12.14 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02353/50.57, allocations: 1.363 MB / 12.14 GB, free: 32.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004576/50.57, allocations: 0.8134 MB / 12.14 GB, free: 31.72 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/50.57, allocations: 5.75 kB / 12.14 GB, free: 31.71 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04962/50.62, allocations: 24.92 MB / 12.17 GB, free: 19.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002483/50.62, allocations: 55.95 kB / 12.17 GB, free: 19.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688/52.31, allocations: 146.8 MB / 12.31 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/52.32, allocations: 1.949 MB / 12.31 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0532/52.38, allocations: 28.86 MB / 12.34 GB, free: 104.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02382/52.4, allocations: 1.337 MB / 12.34 GB, free: 104 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004889/52.41, allocations: 0.7698 MB / 12.34 GB, free: 104 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006031/52.41, allocations: 0.5607 MB / 12.34 GB, free: 103.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006601/52.42, allocations: 1.309 MB / 12.34 GB, free: 103.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08165/52.5, allocations: 26.7 MB / 12.37 GB, free: 102.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000155/52.5, allocations: 74.06 kB / 12.37 GB, free: 102.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/52.5, allocations: 0 / 12.37 GB, free: 102.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05866/52.56, allocations: 21.12 MB / 12.39 GB, free: 102.3 MB / 1.01 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.1911/52.75, allocations: 60.04 MB / 12.45 GB, free: 95.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.833e-05/52.75, allocations: 8.281 kB / 12.45 GB, free: 95.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007489/52.76, allocations: 1.359 MB / 12.45 GB, free: 95.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.179/52.94, allocations: 41.91 MB / 12.49 GB, free: 69.82 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002263/52.94, allocations: 205.6 kB / 12.49 GB, free: 69.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/52.96, allocations: 13.64 MB / 12.5 GB, free: 59.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/52.96, allocations: 17.92 kB / 12.5 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09739/53.06, allocations: 38.67 MB / 12.54 GB, free: 36.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01287/53.07, allocations: 3.128 MB / 12.55 GB, free: 34.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006358/53.08, allocations: 136.7 kB / 12.55 GB, free: 34.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01795/53.09, allocations: 1.066 MB / 12.55 GB, free: 33.54 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002603/53.1, allocations: 477.5 kB / 12.55 GB, free: 33.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001158/53.1, allocations: 303.1 kB / 12.55 GB, free: 32.88 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02113/53.12, allocations: 9.742 MB / 12.56 GB, free: 26.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.71e-07/53.12, allocations: 1.219 kB / 12.56 GB, free: 26.25 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05394/53.17, allocations: 7.203 MB / 12.56 GB, free: 19.92 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/53.18, allocations: 5.544 MB / 12.57 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 1.105/54.29, allocations: 32.93 MB / 12.6 GB, free: 103.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/54.29, allocations: 6 kB / 12.6 GB, free: 103.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01926/54.31, allocations: 8.933 MB / 12.61 GB, free: 103.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04/54.35, allocations: 6.741 MB / 12.62 GB, free: 103.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05512/54.4, allocations: 23.01 MB / 12.64 GB, free: 98.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/54.42, allocations: 7.733 MB / 12.65 GB, free: 97.85 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03876/54.46, allocations: 6.807 MB / 12.65 GB, free: 97.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004018/54.46, allocations: 0.7994 MB / 12.65 GB, free: 97.73 MB / 1.01 GB Notification: Performance of SimCode: time 1.593e-06/54.46, allocations: 1.312 kB / 12.65 GB, free: 97.73 MB / 1.01 GB Notification: Performance of Templates: time 2.505/56.96, allocations: 449.6 MB / 13.09 GB, free: 109.4 MB / 1.057 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)