Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009318/0.009318, allocations: 170.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7803/0.7803, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.495/1.495, allocations: 223.2 MB / 406.9 MB, free: 3.227 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.0009146/0.0009146, allocations: 91.16 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 12 kB / 0.5691 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4215, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.299/1.72, allocations: 426.1 MB / 1.066 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.721, allocations: 108.3 kB / 1.066 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.64/48.36, allocations: 10.74 GB / 11.8 GB, free: 8.402 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.116e-06/48.36, allocations: 4 kB / 11.8 GB, free: 8.398 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003324/48.36, allocations: 351.6 kB / 11.8 GB, free: 8.055 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 1.895/50.26, allocations: 17.53 MB / 11.82 GB, free: 42.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/50.26, allocations: 7.531 kB / 11.82 GB, free: 42.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/50.27, allocations: 2.087 MB / 11.82 GB, free: 41.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06936/50.34, allocations: 18.61 MB / 11.84 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/50.35, allocations: 0.5299 MB / 11.84 GB, free: 40.15 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004743/50.35, allocations: 0.7072 MB / 11.84 GB, free: 40.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0279/50.38, allocations: 8.494 MB / 11.85 GB, free: 39.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/50.38, allocations: 18.44 kB / 11.85 GB, free: 39.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/50.38, allocations: 254.8 kB / 11.85 GB, free: 39.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/50.38, allocations: 156.6 kB / 11.85 GB, free: 39.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/50.4, allocations: 6.965 MB / 11.86 GB, free: 39.04 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.1145/50.51, allocations: 49.92 MB / 11.91 GB, free: 28.36 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/50.53, allocations: 4.909 MB / 11.91 GB, free: 28.21 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.04549/50.57, allocations: 13.51 MB / 11.92 GB, free: 25.21 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008546/50.58, allocations: 3.36 MB / 11.93 GB, free: 25.11 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01694/50.6, allocations: 2.454 MB / 11.93 GB, free: 24.9 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=327): time 4.116e-05/50.6, allocations: 2.859 kB / 11.93 GB, free: 24.9 MB / 0.9637 GB Notification: Performance of matching and sorting (n=516): time 0.1759/50.77, allocations: 46.76 MB / 11.98 GB, free: 17.06 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/50.77, allocations: 105.3 kB / 11.98 GB, free: 16.99 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03515/50.81, allocations: 12.35 MB / 11.99 GB, free: 16.26 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.002659/50.81, allocations: 173.4 kB / 11.99 GB, free: 16.23 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01053/50.82, allocations: 6.232 MB / 11.99 GB, free: 14.78 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003308/50.82, allocations: 1.736 MB / 12 GB, free: 13.66 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008791/50.83, allocations: 146 kB / 12 GB, free: 13.66 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0005807/50.83, allocations: 0.5975 MB / 12 GB, free: 13.34 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/50.84, allocations: 4.599 MB / 12 GB, free: 13.32 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/50.85, allocations: 7.51 MB / 12.01 GB, free: 9.98 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/50.87, allocations: 5.368 MB / 12.01 GB, free: 9.828 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/50.87, allocations: 18.47 kB / 12.01 GB, free: 9.828 MB / 0.9637 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04808/50.91, allocations: 15.28 MB / 12.03 GB, free: 8.781 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.02453/50.94, allocations: 38.61 MB / 12.07 GB, free: 16.81 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004533/50.94, allocations: 61.06 kB / 12.07 GB, free: 16.81 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009339/50.95, allocations: 3.495 MB / 12.07 GB, free: 16.66 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01323/50.96, allocations: 1.864 MB / 12.07 GB, free: 16.64 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/50.98, allocations: 12.37 MB / 12.08 GB, free: 9.875 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02443/51, allocations: 1.214 MB / 12.08 GB, free: 9.754 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003979/51.01, allocations: 489.7 kB / 12.08 GB, free: 9.754 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/51.01, allocations: 4.469 kB / 12.08 GB, free: 9.754 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04974/51.06, allocations: 14.28 MB / 12.1 GB, free: 9.219 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006002/51.06, allocations: 60 kB / 12.1 GB, free: 9.219 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/51.07, allocations: 3.791 MB / 12.1 GB, free: 9.062 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/51.08, allocations: 1.854 MB / 12.1 GB, free: 9.043 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0318/51.11, allocations: 17.35 MB / 12.12 GB, free: 3.242 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02263/51.14, allocations: 1.18 MB / 12.12 GB, free: 3.137 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003467/51.14, allocations: 453.4 kB / 12.12 GB, free: 3.137 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.01418/51.15, allocations: 3.146 MB / 12.13 GB, free: 2.902 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006024/51.16, allocations: 1.212 MB / 12.13 GB, free: 2.23 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04413/51.2, allocations: 13.72 MB / 12.14 GB, free: 1.402 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001504/51.2, allocations: 62.03 kB / 12.14 GB, free: 1.402 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.386e-05/51.2, allocations: 0 / 12.14 GB, free: 1.402 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02876/51.23, allocations: 11.09 MB / 12.15 GB, free: 0.6719 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.07962/51.31, allocations: 25.57 MB / 12.18 GB, free: 6.719 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.725e-05/51.31, allocations: 4 kB / 12.18 GB, free: 6.715 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007923/51.32, allocations: 1.155 MB / 12.18 GB, free: 5.852 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006283/51.33, allocations: 2.399 MB / 12.18 GB, free: 3.91 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001462/51.33, allocations: 167.5 kB / 12.18 GB, free: 3.773 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166/52.49, allocations: 10.97 MB / 12.19 GB, free: 112.9 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/52.49, allocations: 12.25 kB / 12.19 GB, free: 112.9 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04564/52.54, allocations: 20.57 MB / 12.21 GB, free: 109.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01192/52.55, allocations: 2.581 MB / 12.21 GB, free: 109.5 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006234/52.56, allocations: 106.2 kB / 12.21 GB, free: 109.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01582/52.57, allocations: 0.9817 MB / 12.21 GB, free: 109.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001882/52.58, allocations: 396.7 kB / 12.21 GB, free: 109.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001591/52.58, allocations: 250.9 kB / 12.21 GB, free: 109.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02753/52.61, allocations: 9.416 MB / 12.22 GB, free: 109.1 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.41e-07/52.61, allocations: 0.75 kB / 12.22 GB, free: 109.1 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05018/52.66, allocations: 6.04 MB / 12.23 GB, free: 109.1 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.01213/52.67, allocations: 5.019 MB / 12.23 GB, free: 107.3 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.05462/52.72, allocations: 18.34 MB / 12.25 GB, free: 106.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/52.72, allocations: 3.562 kB / 12.25 GB, free: 106.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01508/52.74, allocations: 5.184 MB / 12.26 GB, free: 106.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03837/52.78, allocations: 5.881 MB / 12.26 GB, free: 106.6 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08125/52.86, allocations: 27.8 MB / 12.29 GB, free: 96.15 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02205/52.88, allocations: 7.118 MB / 12.3 GB, free: 95.18 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0333/52.91, allocations: 3.869 MB / 12.3 GB, free: 95.07 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008688/52.92, allocations: 0.9607 MB / 12.3 GB, free: 95.07 MB / 1.026 GB Notification: Performance of SimCode: time 3.066e-06/52.92, allocations: 0 / 12.3 GB, free: 95.07 MB / 1.026 GB Notification: Performance of Templates: time 1.706/54.63, allocations: 272.3 MB / 12.57 GB, free: 134.7 MB / 1.042 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)