Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006191/0.006191, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7252/0.7252, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.474/1.474, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.001051/0.00105, allocations: 98.94 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 15.92 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4465, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.657, allocations: 425.5 MB / 1.065 GB, free: 251.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/1.658, allocations: 97.67 kB / 1.065 GB, free: 251.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 45.56/47.22, allocations: 10.5 GB / 11.56 GB, free: 7.535 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.855e-06/47.22, allocations: 0 / 11.56 GB, free: 7.535 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003093/47.22, allocations: 355.6 kB / 11.56 GB, free: 7.188 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.859/49.08, allocations: 17.62 MB / 11.58 GB, free: 36.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/49.08, allocations: 11.59 kB / 11.58 GB, free: 36.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/49.1, allocations: 2.235 MB / 11.58 GB, free: 35.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06858/49.17, allocations: 18.95 MB / 11.6 GB, free: 33.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/49.17, allocations: 0.5288 MB / 11.6 GB, free: 33.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004467/49.17, allocations: 0.7142 MB / 11.6 GB, free: 33.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04022/49.21, allocations: 13.34 MB / 11.61 GB, free: 32.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003375/49.21, allocations: 9.656 kB / 11.61 GB, free: 32.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00326/49.22, allocations: 251.8 kB / 11.61 GB, free: 32.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/49.22, allocations: 146.6 kB / 11.62 GB, free: 32.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03846/49.26, allocations: 17.98 MB / 11.63 GB, free: 32.91 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.1449/49.4, allocations: 70.16 MB / 11.7 GB, free: 17.17 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0267/49.43, allocations: 9.757 MB / 11.71 GB, free: 17.02 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.1053/49.53, allocations: 29.26 MB / 11.74 GB, free: 9 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02413/49.56, allocations: 8.299 MB / 11.75 GB, free: 8.883 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07489/49.63, allocations: 15.08 MB / 11.76 GB, free: 8.676 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=394): time 9.669e-05/49.63, allocations: 0 / 11.76 GB, free: 8.676 MB / 0.9637 GB Notification: Performance of matching and sorting (n=583): time 0.4588/50.09, allocations: 116.3 MB / 11.88 GB, free: 15.82 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/50.09, allocations: 111.9 kB / 11.88 GB, free: 15.75 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0315/50.12, allocations: 12.15 MB / 11.89 GB, free: 14.22 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.004592/50.13, allocations: 185.7 kB / 11.89 GB, free: 14.08 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.0111/50.14, allocations: 6.018 MB / 11.89 GB, free: 9.383 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.007931/50.15, allocations: 1.96 MB / 11.9 GB, free: 7.852 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005763/50.15, allocations: 144.1 kB / 11.9 GB, free: 7.738 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.001182/50.15, allocations: 0.6019 MB / 11.9 GB, free: 7.301 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02289/50.18, allocations: 8.531 MB / 11.9 GB, free: 4.094 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03183/50.21, allocations: 11.63 MB / 11.92 GB, free: 12.52 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02448/50.23, allocations: 9.402 MB / 11.93 GB, free: 4.402 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/50.23, allocations: 12 kB / 11.93 GB, free: 4.391 MB / 0.9949 GB Notification: Performance of matching and sorting (n=964) (initialization): time 1.137/51.37, allocations: 28.83 MB / 11.95 GB, free: 81.84 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.006591/51.38, allocations: 29.72 MB / 11.98 GB, free: 51.19 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/51.38, allocations: 47.34 kB / 11.98 GB, free: 51.19 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7054/52.08, allocations: 170.6 MB / 12.15 GB, free: 50.44 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01259/52.1, allocations: 1.757 MB / 12.15 GB, free: 50.42 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05164/52.15, allocations: 26.75 MB / 12.18 GB, free: 45.23 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02398/52.17, allocations: 1.285 MB / 12.18 GB, free: 45.16 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005852/52.18, allocations: 0.7937 MB / 12.18 GB, free: 45.16 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/52.18, allocations: 3.906 kB / 12.18 GB, free: 45.16 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07789/52.26, allocations: 26.64 MB / 12.2 GB, free: 44.66 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003639/52.26, allocations: 49.75 kB / 12.2 GB, free: 44.66 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851/54.11, allocations: 170.9 MB / 12.37 GB, free: 112.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/54.12, allocations: 1.742 MB / 12.37 GB, free: 112.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07009/54.19, allocations: 31.76 MB / 12.4 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02482/54.21, allocations: 1.257 MB / 12.41 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005872/54.22, allocations: 0.7582 MB / 12.41 GB, free: 108.1 MB / 1.026 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 644 * 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 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01634/54.24, allocations: 3.112 MB / 12.41 GB, free: 107.9 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007224/54.24, allocations: 1.222 MB / 12.41 GB, free: 107.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07823/54.32, allocations: 24.87 MB / 12.43 GB, free: 107.5 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002058/54.32, allocations: 74.8 kB / 12.44 GB, free: 107.5 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/54.32, allocations: 2.719 kB / 12.44 GB, free: 107.5 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05021/54.37, allocations: 19.32 MB / 12.45 GB, free: 106.9 MB / 1.026 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.1207/54.49, allocations: 45.92 MB / 12.5 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/54.49, allocations: 7.188 kB / 12.5 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007306/54.5, allocations: 1.25 MB / 12.5 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.207/54.71, allocations: 48.98 MB / 12.55 GB, free: 100.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003508/54.71, allocations: 201.9 kB / 12.55 GB, free: 100.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02601/54.74, allocations: 14.86 MB / 12.56 GB, free: 94.23 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.829e-05/54.74, allocations: 14.48 kB / 12.56 GB, free: 94.21 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07555/54.81, allocations: 31.61 MB / 12.59 GB, free: 78.17 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0179/54.83, allocations: 2.976 MB / 12.6 GB, free: 76.42 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008201/54.84, allocations: 131.4 kB / 12.6 GB, free: 76.39 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02/54.86, allocations: 0.9992 MB / 12.6 GB, free: 75.79 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003123/54.86, allocations: 465.7 kB / 12.6 GB, free: 75.56 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001538/54.86, allocations: 286.8 kB / 12.6 GB, free: 75.37 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03184/54.89, allocations: 9.29 MB / 12.61 GB, free: 70.64 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.242e-06/54.89, allocations: 0 / 12.61 GB, free: 70.64 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05816/54.95, allocations: 6.614 MB / 12.61 GB, free: 64.85 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 (489): * Single equations (assignments): 467 * 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 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.0144/54.97, allocations: 5.032 MB / 12.62 GB, free: 60.61 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.1006/55.07, allocations: 35.19 MB / 12.65 GB, free: 40.35 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.517e-05/55.07, allocations: 8.062 kB / 12.65 GB, free: 40.34 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.02591/55.09, allocations: 9.862 MB / 12.66 GB, free: 31.78 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03982/55.13, allocations: 6.179 MB / 12.67 GB, free: 27.41 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.177/56.31, allocations: 30.27 MB / 12.7 GB, free: 96.45 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02119/56.33, allocations: 7.21 MB / 12.71 GB, free: 95.48 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02951/56.36, allocations: 3.773 MB / 12.71 GB, free: 95.38 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006327/56.37, allocations: 0.9964 MB / 12.71 GB, free: 95.38 MB / 1.026 GB Notification: Performance of SimCode: time 1.152e-06/56.37, allocations: 0 / 12.71 GB, free: 95.38 MB / 1.026 GB Notification: Performance of Templates: time 1.624/57.99, allocations: 406.9 MB / 13.11 GB, free: 129.1 MB / 1.057 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)