Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 175.2 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.7856/0.7856, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.506/1.506, allocations: 221.3 MB / 396.8 MB, free: 9.102 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.0009312/0.0009313, allocations: 103.2 kB / 479 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.163e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.416, allocations: 425.8 MB / 1.051 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/1.416, allocations: 95.8 kB / 1.051 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.33/47.75, allocations: 10.71 GB / 11.76 GB, free: 65.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.535e-06/47.75, allocations: 0 / 11.76 GB, free: 65.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00306/47.75, allocations: 361 kB / 11.76 GB, free: 65.35 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.04764/47.8, allocations: 11.1 MB / 11.77 GB, free: 60.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/47.8, allocations: 9.438 kB / 11.77 GB, free: 60.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/47.81, allocations: 2.088 MB / 11.77 GB, free: 59.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05701/47.87, allocations: 18.39 MB / 11.79 GB, free: 57.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009172/47.87, allocations: 0.5321 MB / 11.79 GB, free: 57.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003554/47.88, allocations: 0.7128 MB / 11.79 GB, free: 57.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0213/47.9, allocations: 8.295 MB / 11.8 GB, free: 56.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000174/47.9, allocations: 24.3 kB / 11.8 GB, free: 56.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/47.9, allocations: 253.2 kB / 11.8 GB, free: 56.31 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/47.9, allocations: 153.5 kB / 11.8 GB, free: 56.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/47.91, allocations: 6.618 MB / 11.8 GB, free: 56.26 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.08775/48, allocations: 49.91 MB / 11.85 GB, free: 29.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007936/48.01, allocations: 4.663 MB / 11.86 GB, free: 28.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005338/48.01, allocations: 3.616 MB / 11.86 GB, free: 28.79 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.03781/48.05, allocations: 13.71 MB / 11.87 GB, free: 25.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005593/48.06, allocations: 3.251 MB / 11.88 GB, free: 25.55 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01346/48.07, allocations: 2.395 MB / 11.88 GB, free: 25.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=326): time 3.156e-05/48.07, allocations: 0 / 11.88 GB, free: 25.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=514): time 0.1144/48.19, allocations: 36.9 MB / 11.92 GB, free: 17.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/48.19, allocations: 110.3 kB / 11.92 GB, free: 17.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02958/48.22, allocations: 12.21 MB / 11.93 GB, free: 16.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002241/48.22, allocations: 182 kB / 11.93 GB, free: 16.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007642/48.23, allocations: 6.226 MB / 11.93 GB, free: 12.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002653/48.23, allocations: 1.728 MB / 11.94 GB, free: 11.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008022/48.23, allocations: 146 kB / 11.94 GB, free: 11.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004165/48.23, allocations: 0.5944 MB / 11.94 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005597/48.24, allocations: 3.923 MB / 11.94 GB, free: 9.492 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008541/48.24, allocations: 6.836 MB / 11.95 GB, free: 4.508 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007939/48.25, allocations: 4.722 MB / 11.95 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.582e-05/48.25, allocations: 16 kB / 11.95 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.0318/48.28, allocations: 13.99 MB / 11.97 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.9949/49.28, allocations: 38.59 MB / 12 GB, free: 79.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002119/49.28, allocations: 62.92 kB / 12 GB, free: 79.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009755/49.29, allocations: 3.384 MB / 12.01 GB, free: 79.56 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/49.3, allocations: 1.871 MB / 12.01 GB, free: 79.56 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/49.31, allocations: 12.32 MB / 12.02 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01882/49.33, allocations: 1.21 MB / 12.02 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003066/49.34, allocations: 486.2 kB / 12.02 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/49.34, allocations: 4.375 kB / 12.02 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02927/49.37, allocations: 12.91 MB / 12.03 GB, free: 72.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002712/49.37, allocations: 61.91 kB / 12.03 GB, free: 72.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008127/49.37, allocations: 3.651 MB / 12.04 GB, free: 72.51 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009548/49.38, allocations: 1.856 MB / 12.04 GB, free: 72.51 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/49.41, allocations: 16.61 MB / 12.06 GB, free: 67.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01849/49.43, allocations: 1.189 MB / 12.06 GB, free: 67.15 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003249/49.43, allocations: 442 kB / 12.06 GB, free: 67.15 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003553/49.43, allocations: 0.5511 MB / 12.06 GB, free: 67.04 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004455/49.44, allocations: 1.213 MB / 12.06 GB, free: 67.04 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02941/49.47, allocations: 12.35 MB / 12.07 GB, free: 66.53 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001334/49.47, allocations: 61.23 kB / 12.07 GB, free: 66.53 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/49.47, allocations: 0 / 12.07 GB, free: 66.53 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01899/49.49, allocations: 9.757 MB / 12.08 GB, free: 65.95 MB / 0.9792 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.0597/49.55, allocations: 24.42 MB / 12.11 GB, free: 64.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/49.55, allocations: 11.95 kB / 12.11 GB, free: 64.03 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006309/49.55, allocations: 1.17 MB / 12.11 GB, free: 64.03 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005414/49.56, allocations: 2.392 MB / 12.11 GB, free: 63.95 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001204/49.56, allocations: 165.8 kB / 12.11 GB, free: 63.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008321/49.57, allocations: 10.99 MB / 12.12 GB, free: 57.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/49.57, allocations: 8.984 kB / 12.12 GB, free: 57.29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03038/49.6, allocations: 19.04 MB / 12.14 GB, free: 53.53 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01112/49.61, allocations: 2.573 MB / 12.14 GB, free: 52.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005741/49.62, allocations: 111.8 kB / 12.14 GB, free: 52.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0145/49.63, allocations: 0.9865 MB / 12.14 GB, free: 52.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001645/49.63, allocations: 399.5 kB / 12.14 GB, free: 52.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008384/49.63, allocations: 253.1 kB / 12.14 GB, free: 52.71 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02219/49.65, allocations: 9.277 MB / 12.15 GB, free: 52.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.21e-07/49.65, allocations: 0 / 12.15 GB, free: 52.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.04376/49.7, allocations: 6.034 MB / 12.16 GB, free: 52.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (441): * Single equations (assignments): 416 * 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: 6 * 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: 6 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.009178/49.71, allocations: 5.007 MB / 12.16 GB, free: 50.45 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.03404/49.74, allocations: 16.81 MB / 12.18 GB, free: 49.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/49.74, allocations: 3.094 kB / 12.18 GB, free: 49.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/49.75, allocations: 4.656 MB / 12.18 GB, free: 49.31 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03897/49.79, allocations: 5.9 MB / 12.19 GB, free: 49.26 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04868/49.84, allocations: 19.56 MB / 12.21 GB, free: 44.98 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01217/49.85, allocations: 7.141 MB / 12.22 GB, free: 43.96 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03382/49.89, allocations: 6.516 MB / 12.22 GB, free: 43.17 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/49.89, allocations: 0.6752 MB / 12.22 GB, free: 43.16 MB / 0.9792 GB Notification: Performance of SimCode: time 1.192e-06/49.89, allocations: 0 / 12.22 GB, free: 43.16 MB / 0.9792 GB Notification: Performance of Templates: time 1.405/51.3, allocations: 301.4 MB / 12.52 GB, free: 104.2 MB / 0.9948 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)