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.00168/0.00168, allocations: 174.6 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-master/package.mo): time 0.8003/0.8003, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.57/1.57, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0009107/0.0009107, allocations: 89.3 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.879e-05/4.882e-05, allocations: 2.562 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1843, allocations: 82.31 MB / 0.6404 GB, free: 7.836 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.451, allocations: 425.4 MB / 1.056 GB, free: 196 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.451, allocations: 91.95 kB / 1.056 GB, free: 196 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 47.19/48.64, allocations: 10.47 GB / 11.52 GB, free: 43.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/48.64, allocations: 4.438 kB / 11.52 GB, free: 43.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003142/48.64, allocations: 356.3 kB / 11.52 GB, free: 43.14 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.05248/48.69, allocations: 11.18 MB / 11.53 GB, free: 38.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.988e-05/48.69, allocations: 9.719 kB / 11.53 GB, free: 38.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02067/48.72, allocations: 2.236 MB / 11.54 GB, free: 37.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08276/48.8, allocations: 18.76 MB / 11.55 GB, free: 35.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/48.8, allocations: 0.5309 MB / 11.56 GB, free: 35.33 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005762/48.81, allocations: 0.7088 MB / 11.56 GB, free: 35.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04544/48.85, allocations: 13.08 MB / 11.57 GB, free: 34.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004505/48.85, allocations: 9.094 kB / 11.57 GB, free: 34.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004308/48.86, allocations: 249.8 kB / 11.57 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/48.86, allocations: 147.8 kB / 11.57 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03756/48.89, allocations: 17.54 MB / 11.59 GB, free: 34.67 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.1435/49.04, allocations: 70.11 MB / 11.65 GB, free: 18.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/49.05, allocations: 9.455 MB / 11.66 GB, free: 18.68 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01196/49.06, allocations: 8.444 MB / 11.67 GB, free: 18.61 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.07172/49.14, allocations: 29.5 MB / 11.7 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01566/49.15, allocations: 8.117 MB / 11.71 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04608/49.2, allocations: 15.23 MB / 11.72 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 4.78e-05/49.2, allocations: 0 / 11.72 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of matching and sorting (n=581): time 1.362/50.56, allocations: 76.86 MB / 11.8 GB, free: 79.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/50.56, allocations: 114.8 kB / 11.8 GB, free: 79.53 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0392/50.6, allocations: 12.01 MB / 11.81 GB, free: 78.87 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004852/50.6, allocations: 182.8 kB / 11.81 GB, free: 78.84 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0116/50.61, allocations: 6.012 MB / 11.82 GB, free: 78.65 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.006148/50.62, allocations: 1.954 MB / 11.82 GB, free: 78.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003301/50.62, allocations: 144.1 kB / 11.82 GB, free: 78.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0007686/50.63, allocations: 0.5944 MB / 11.82 GB, free: 78.29 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01612/50.64, allocations: 7.804 MB / 11.83 GB, free: 78.27 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02184/50.66, allocations: 10.38 MB / 11.84 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/50.68, allocations: 8.71 MB / 11.85 GB, free: 75.25 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001677/50.68, allocations: 16.7 kB / 11.85 GB, free: 75.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0729/50.76, allocations: 26.11 MB / 11.87 GB, free: 74.24 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00725/50.76, allocations: 29.72 MB / 11.9 GB, free: 43.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002228/50.76, allocations: 45.75 kB / 11.9 GB, free: 43.55 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.736/51.5, allocations: 170.4 MB / 12.07 GB, free: 41.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/51.51, allocations: 1.766 MB / 12.07 GB, free: 41.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0528/51.56, allocations: 26.56 MB / 12.09 GB, free: 26.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02285/51.59, allocations: 1.285 MB / 12.1 GB, free: 26.19 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004973/51.59, allocations: 0.7992 MB / 12.1 GB, free: 25.72 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/51.59, allocations: 9.188 kB / 12.1 GB, free: 25.71 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06005/51.65, allocations: 25.18 MB / 12.12 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000276/51.65, allocations: 48 kB / 12.12 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852/53.5, allocations: 170.6 MB / 12.29 GB, free: 89.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00954/53.51, allocations: 1.758 MB / 12.29 GB, free: 89.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06324/53.58, allocations: 30.91 MB / 12.32 GB, free: 85.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0236/53.6, allocations: 1.258 MB / 12.32 GB, free: 85.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005365/53.61, allocations: 0.7571 MB / 12.32 GB, free: 85.37 MB / 0.9948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.008887/53.62, allocations: 0.5167 MB / 12.32 GB, free: 85.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00805/53.62, allocations: 1.218 MB / 12.32 GB, free: 85.26 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07558/53.7, allocations: 23.34 MB / 12.35 GB, free: 84.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002045/53.7, allocations: 71.62 kB / 12.35 GB, free: 84.41 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4e-05/53.7, allocations: 0 / 12.35 GB, free: 84.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04717/53.75, allocations: 17.8 MB / 12.36 GB, free: 83.77 MB / 0.9948 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.1655/53.91, allocations: 54.19 MB / 12.42 GB, free: 76.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.969e-05/53.91, allocations: 8.875 kB / 12.42 GB, free: 76.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006883/53.92, allocations: 1.257 MB / 12.42 GB, free: 75.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2093/54.13, allocations: 48.87 MB / 12.47 GB, free: 40.08 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00218/54.13, allocations: 197.8 kB / 12.47 GB, free: 39.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/54.15, allocations: 14.71 MB / 12.48 GB, free: 28.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/54.15, allocations: 9.5 kB / 12.48 GB, free: 28.58 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06394/54.22, allocations: 32.85 MB / 12.51 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01338/54.23, allocations: 2.97 MB / 12.51 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007618/54.24, allocations: 133.4 kB / 12.52 GB, free: 4.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028/55.27, allocations: 1.001 MB / 12.52 GB, free: 90.01 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003652/55.27, allocations: 466.5 kB / 12.52 GB, free: 90 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002912/55.27, allocations: 291.1 kB / 12.52 GB, free: 90 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.03817/55.31, allocations: 9.152 MB / 12.53 GB, free: 89.59 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.81e-07/55.31, allocations: 0 / 12.53 GB, free: 89.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.07178/55.38, allocations: 6.605 MB / 12.53 GB, free: 89.59 MB / 0.9948 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 (491): * Single equations (assignments): 469 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01509/55.4, allocations: 5.031 MB / 12.54 GB, free: 87.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.1106/55.51, allocations: 33.53 MB / 12.57 GB, free: 87.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/55.51, allocations: 1.719 kB / 12.57 GB, free: 87.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.02072/55.53, allocations: 9.219 MB / 12.58 GB, free: 86.98 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03823/55.57, allocations: 6.21 MB / 12.58 GB, free: 86.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/55.62, allocations: 21.46 MB / 12.61 GB, free: 82.64 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/55.64, allocations: 7.237 MB / 12.61 GB, free: 81.64 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03128/55.67, allocations: 6.409 MB / 12.62 GB, free: 81.53 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003394/55.67, allocations: 0.7257 MB / 12.62 GB, free: 81.53 MB / 0.9948 GB Notification: Performance of SimCode: time 1.352e-06/55.67, allocations: 0 / 12.62 GB, free: 81.53 MB / 0.9948 GB Notification: Performance of Templates: time 2.473/58.14, allocations: 435.9 MB / 13.05 GB, free: 96.26 MB / 1.026 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)