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.005717/0.005717, allocations: 170.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7291/0.7291, allocations: 132.3 MB / 148.1 MB, free: 216 kB / 106.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: 223.2 MB / 403.2 MB, free: 6.758 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.001048/0.001048, allocations: 95.5 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003499, allocations: 12 kB / 0.5641 GB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5016, allocations: 81.58 MB / 0.6437 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.708, allocations: 425.9 MB / 1.06 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.708, allocations: 107.1 kB / 1.06 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.69/48.4, allocations: 10.74 GB / 11.8 GB, free: 36.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.767e-06/48.4, allocations: 4 kB / 11.8 GB, free: 36.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003705/48.41, allocations: 359.6 kB / 11.8 GB, free: 35.84 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.07118/48.48, allocations: 17.53 MB / 11.81 GB, free: 18.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/48.48, allocations: 8.031 kB / 11.81 GB, free: 18.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/48.49, allocations: 2.094 MB / 11.82 GB, free: 16.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.113/50.61, allocations: 18.6 MB / 11.83 GB, free: 49.15 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001371/50.61, allocations: 0.5273 MB / 11.83 GB, free: 49.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004241/50.61, allocations: 0.7101 MB / 11.84 GB, free: 49.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/50.64, allocations: 8.494 MB / 11.84 GB, free: 48.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/50.64, allocations: 17.44 kB / 11.84 GB, free: 48.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/50.64, allocations: 254.1 kB / 11.84 GB, free: 48.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/50.64, allocations: 155.5 kB / 11.84 GB, free: 48.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/50.66, allocations: 6.96 MB / 11.85 GB, free: 48.03 MB / 0.948 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.109/50.77, allocations: 49.92 MB / 11.9 GB, free: 38.34 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/50.78, allocations: 4.919 MB / 11.9 GB, free: 38.18 MB / 0.9637 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 evalFunc (simulation): time 0.04619/50.83, allocations: 13.51 MB / 11.92 GB, free: 35.4 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008417/50.84, allocations: 3.37 MB / 11.92 GB, free: 35.3 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01568/50.85, allocations: 2.449 MB / 11.92 GB, free: 35.27 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=327): time 4.604e-05/50.85, allocations: 0.5938 kB / 11.92 GB, free: 35.27 MB / 0.9637 GB Notification: Performance of matching and sorting (n=516): time 0.1966/51.05, allocations: 46.77 MB / 11.97 GB, free: 27.6 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/51.05, allocations: 111.1 kB / 11.97 GB, free: 27.53 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03935/51.09, allocations: 12.35 MB / 11.98 GB, free: 26.86 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.002995/51.09, allocations: 176.1 kB / 11.98 GB, free: 26.83 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01268/51.11, allocations: 6.215 MB / 11.99 GB, free: 25.76 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00451/51.11, allocations: 1.742 MB / 11.99 GB, free: 24.88 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00257/51.11, allocations: 141.4 kB / 11.99 GB, free: 24.88 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0009431/51.11, allocations: 0.5965 MB / 11.99 GB, free: 24.56 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01537/51.13, allocations: 4.6 MB / 11.99 GB, free: 24.54 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01694/51.15, allocations: 7.51 MB / 12 GB, free: 21.2 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/51.16, allocations: 5.375 MB / 12.01 GB, free: 21.04 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001944/51.16, allocations: 14.97 kB / 12.01 GB, free: 21.04 MB / 0.9637 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.05508/51.22, allocations: 15.29 MB / 12.02 GB, free: 19.99 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.02558/51.24, allocations: 38.6 MB / 12.06 GB, free: 28.14 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004305/51.24, allocations: 57.78 kB / 12.06 GB, free: 28.14 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009755/51.25, allocations: 3.506 MB / 12.06 GB, free: 28.05 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/51.27, allocations: 1.857 MB / 12.06 GB, free: 28.05 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/51.29, allocations: 12.37 MB / 12.08 GB, free: 21.29 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02224/51.31, allocations: 1.21 MB / 12.08 GB, free: 21.19 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003389/51.31, allocations: 490.7 kB / 12.08 GB, free: 21.19 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/51.31, allocations: 6.562 kB / 12.08 GB, free: 21.19 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04126/51.35, allocations: 14.28 MB / 12.09 GB, free: 20.66 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003711/51.35, allocations: 61.17 kB / 12.09 GB, free: 20.66 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009454/51.36, allocations: 3.8 MB / 12.1 GB, free: 20.5 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/51.37, allocations: 1.847 MB / 12.1 GB, free: 20.48 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03198/51.41, allocations: 17.34 MB / 12.12 GB, free: 14.68 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01954/51.42, allocations: 1.182 MB / 12.12 GB, free: 14.6 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003053/51.43, allocations: 449.4 kB / 12.12 GB, free: 14.6 MB / 1.011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 721 * 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 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.0133/51.44, allocations: 3.138 MB / 12.12 GB, free: 14.41 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006034/51.45, allocations: 1.216 MB / 12.12 GB, free: 13.73 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04443/51.49, allocations: 13.72 MB / 12.13 GB, free: 12.93 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001458/51.49, allocations: 65.52 kB / 12.13 GB, free: 12.93 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.944e-05/51.49, allocations: 0 / 12.13 GB, free: 12.93 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03129/51.52, allocations: 11.08 MB / 12.15 GB, free: 12.21 MB / 1.011 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 postOpt removeSimpleEquations (simulation): time 0.08777/51.61, allocations: 25.55 MB / 12.17 GB, free: 7.996 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.498e-05/51.61, allocations: 10.41 kB / 12.17 GB, free: 7.996 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007387/51.62, allocations: 1.16 MB / 12.17 GB, free: 7.949 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005935/51.62, allocations: 2.393 MB / 12.17 GB, free: 7.355 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001635/51.63, allocations: 168.2 kB / 12.17 GB, free: 7.281 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/51.64, allocations: 10.98 MB / 12.18 GB, free: 14.99 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/51.64, allocations: 12.06 kB / 12.18 GB, free: 14.99 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05194/51.69, allocations: 20.57 MB / 12.2 GB, free: 1.66 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02057/51.71, allocations: 2.786 MB / 12.21 GB, free: 0 / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00721/51.72, allocations: 140.1 kB / 12.21 GB, free: 0 / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185/52.9, allocations: 1.026 MB / 12.21 GB, free: 124.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003013/52.91, allocations: 398.7 kB / 12.21 GB, free: 124 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001472/52.91, allocations: 254.3 kB / 12.21 GB, free: 124 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03627/52.94, allocations: 9.415 MB / 12.22 GB, free: 123.7 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.22e-07/52.94, allocations: 0 / 12.22 GB, free: 123.7 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.06211/53.01, allocations: 6.044 MB / 12.22 GB, free: 123.7 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * 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 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01522/53.02, allocations: 5.008 MB / 12.23 GB, free: 121.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.06501/53.09, allocations: 18.35 MB / 12.25 GB, free: 121.4 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.431e-05/53.09, allocations: 1.969 kB / 12.25 GB, free: 121.4 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01581/53.1, allocations: 5.182 MB / 12.25 GB, free: 121.3 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04252/53.15, allocations: 5.887 MB / 12.26 GB, free: 121.2 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07359/53.22, allocations: 27.79 MB / 12.29 GB, free: 110.7 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02022/53.24, allocations: 7.124 MB / 12.29 GB, free: 109.8 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02894/53.27, allocations: 3.869 MB / 12.3 GB, free: 109.6 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007314/53.28, allocations: 0.9603 MB / 12.3 GB, free: 109.6 MB / 1.026 GB Notification: Performance of SimCode: time 1.142e-06/53.28, allocations: 0 / 12.3 GB, free: 109.6 MB / 1.026 GB Notification: Performance of Templates: time 0.4658/53.74, allocations: 272.3 MB / 12.56 GB, free: 0.9609 MB / 1.026 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)