Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007166/0.007166, allocations: 170.4 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.7394/0.7394, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.419/1.419, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.001031/0.001031, allocations: 97.31 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004277, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4424, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.701, allocations: 424.8 MB / 1.064 GB, free: 251.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.702, allocations: 98.5 kB / 1.064 GB, free: 251.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.71/48.41, allocations: 10.56 GB / 11.63 GB, free: 50.43 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.875e-06/48.41, allocations: 4 kB / 11.63 GB, free: 50.43 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003335/48.41, allocations: 395.4 kB / 11.63 GB, free: 50.31 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.08036/48.49, allocations: 18.82 MB / 11.64 GB, free: 32.12 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/48.49, allocations: 12.03 kB / 11.64 GB, free: 32.11 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/48.51, allocations: 2.209 MB / 11.65 GB, free: 29.88 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07186/48.58, allocations: 20.48 MB / 11.67 GB, free: 9.309 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/48.58, allocations: 0.6029 MB / 11.67 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005056/48.58, allocations: 0.8047 MB / 11.67 GB, free: 7.902 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.076/49.66, allocations: 14.23 MB / 11.68 GB, free: 50.76 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000607/49.66, allocations: 13.38 kB / 11.68 GB, free: 50.76 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004493/49.67, allocations: 291.2 kB / 11.68 GB, free: 50.76 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002888/49.67, allocations: 183.5 kB / 11.68 GB, free: 50.76 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04193/49.71, allocations: 18.47 MB / 11.7 GB, free: 50.7 MB / 0.9792 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.1686/49.88, allocations: 74.32 MB / 11.77 GB, free: 34.15 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/49.9, allocations: 9.804 MB / 11.78 GB, free: 33.98 MB / 0.9948 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.07432/49.97, allocations: 29.96 MB / 11.81 GB, free: 25.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02138/49.99, allocations: 8.269 MB / 11.82 GB, free: 25.65 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04581/50.04, allocations: 14.74 MB / 11.83 GB, free: 25.53 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=427): time 4.805e-05/50.04, allocations: 0 / 11.83 GB, free: 25.53 MB / 0.9948 GB Notification: Performance of matching and sorting (n=616): time 0.3887/50.43, allocations: 107.3 MB / 11.94 GB, free: 17.31 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/50.43, allocations: 125.9 kB / 11.94 GB, free: 17.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03922/50.47, allocations: 12.93 MB / 11.95 GB, free: 16.56 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.004627/50.47, allocations: 193 kB / 11.95 GB, free: 16.53 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01203/50.48, allocations: 6.666 MB / 11.96 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006354/50.49, allocations: 2.08 MB / 11.96 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004904/50.49, allocations: 158.7 kB / 11.96 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.00123/50.5, allocations: 0.6158 MB / 11.96 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02379/50.52, allocations: 8.524 MB / 11.97 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02532/50.54, allocations: 11.3 MB / 11.98 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02431/50.57, allocations: 9.471 MB / 11.99 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/50.57, allocations: 15.72 kB / 11.99 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.08488/50.65, allocations: 27.53 MB / 12.02 GB, free: 9.727 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.01392/50.67, allocations: 34.9 MB / 12.05 GB, free: 5.117 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/50.67, allocations: 51.5 kB / 12.05 GB, free: 5.117 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813/52.48, allocations: 152.3 MB / 12.2 GB, free: 111 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/52.49, allocations: 1.946 MB / 12.2 GB, free: 111 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04362/52.54, allocations: 24.82 MB / 12.23 GB, free: 105.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02403/52.56, allocations: 1.366 MB / 12.23 GB, free: 105.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004973/52.57, allocations: 0.8183 MB / 12.23 GB, free: 105.9 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/52.57, allocations: 8.297 kB / 12.23 GB, free: 105.9 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06488/52.63, allocations: 26.38 MB / 12.25 GB, free: 105.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002613/52.63, allocations: 54.16 kB / 12.25 GB, free: 105.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5937/53.22, allocations: 147.1 MB / 12.4 GB, free: 47.65 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/53.24, allocations: 1.935 MB / 12.4 GB, free: 45.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05231/53.29, allocations: 29.53 MB / 12.43 GB, free: 23.82 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02428/53.31, allocations: 1.335 MB / 12.43 GB, free: 22.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005179/53.32, allocations: 0.7697 MB / 12.43 GB, free: 21.98 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (758): * Single equations (assignments): 744 * 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 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01588/53.33, allocations: 3.385 MB / 12.43 GB, free: 19.94 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00801/53.34, allocations: 1.304 MB / 12.43 GB, free: 19.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.418/54.76, allocations: 47.16 MB / 12.48 GB, free: 101.2 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002761/54.76, allocations: 79.62 kB / 12.48 GB, free: 101.2 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/54.76, allocations: 2.906 kB / 12.48 GB, free: 101.2 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1952/54.95, allocations: 41.56 MB / 12.52 GB, free: 100.6 MB / 1.042 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.1566/55.11, allocations: 48.63 MB / 12.57 GB, free: 94.37 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001558/55.11, allocations: 8.25 kB / 12.57 GB, free: 94.37 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01004/55.12, allocations: 1.349 MB / 12.57 GB, free: 94.37 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1775/55.3, allocations: 42.03 MB / 12.61 GB, free: 94.3 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002498/55.3, allocations: 207.3 kB / 12.61 GB, free: 94.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/55.32, allocations: 13.76 MB / 12.62 GB, free: 89.16 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/55.32, allocations: 9.281 kB / 12.62 GB, free: 89.16 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1427/55.47, allocations: 45.08 MB / 12.67 GB, free: 85.65 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0186/55.48, allocations: 3.128 MB / 12.67 GB, free: 85.4 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01107/55.5, allocations: 132.9 kB / 12.67 GB, free: 85.4 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01971/55.52, allocations: 1.06 MB / 12.67 GB, free: 85.37 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002915/55.52, allocations: 485.2 kB / 12.67 GB, free: 85.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001669/55.52, allocations: 307.1 kB / 12.67 GB, free: 85.36 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.03012/55.55, allocations: 9.882 MB / 12.68 GB, free: 85 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.31e-07/55.55, allocations: 1.938 kB / 12.68 GB, free: 85 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.07094/55.62, allocations: 7.221 MB / 12.69 GB, free: 85 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (536): * Single equations (assignments): 514 * 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,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01531/55.64, allocations: 5.552 MB / 12.7 GB, free: 83 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1017/55.74, allocations: 34.57 MB / 12.73 GB, free: 80.96 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.612e-05/55.74, allocations: 0 / 12.73 GB, free: 80.96 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.03062/55.77, allocations: 9.556 MB / 12.74 GB, free: 76.33 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04613/55.82, allocations: 6.736 MB / 12.75 GB, free: 72.91 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08228/55.9, allocations: 32.47 MB / 12.78 GB, free: 47.7 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01853/55.92, allocations: 7.71 MB / 12.78 GB, free: 43.09 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02804/55.94, allocations: 4.103 MB / 12.79 GB, free: 40.14 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006614/55.95, allocations: 1.098 MB / 12.79 GB, free: 39.26 MB / 1.042 GB Notification: Performance of SimCode: time 1.433e-06/55.95, allocations: 0 / 12.79 GB, free: 39.26 MB / 1.042 GB Notification: Performance of Templates: time 1.937/57.89, allocations: 419.4 MB / 13.2 GB, free: 13.41 MB / 1.089 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)