Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7422/0.7422, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 12.75 kB / 0.5034 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3419, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified4): time 0.556/0.8979, allocations: 328.6 MB / 0.904 GB, free: 55.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06906/0.967, allocations: 68.56 MB / 0.9709 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01169/0.9788, allocations: 365.6 kB / 0.9713 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.9889, allocations: 3.56 MB / 0.9747 GB, free: 21.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02484/1.014, allocations: 10.41 MB / 0.9849 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01572/1.029, allocations: 7.05 MB / 0.9918 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.03913/1.069, allocations: 38.45 MB / 1.029 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02007/1.089, allocations: 15.03 MB / 1.044 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02245/1.111, allocations: 12.94 MB / 1.057 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02193/1.133, allocations: 13.58 MB / 1.07 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004116/1.137, allocations: 0.9961 MB / 1.071 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/1.15, allocations: 3.787 MB / 1.075 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.006506/1.157, allocations: 4.266 MB / 1.079 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005757/1.163, allocations: 2.958 MB / 1.082 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01996/1.183, allocations: 19.46 MB / 1.101 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.183, allocations: 0 / 1.101 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.603e-06/1.183, allocations: 0 / 1.101 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000436/1.183, allocations: 4 kB / 1.101 GB, free: 4.457 MB / 0.7481 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.5107/1.694, allocations: 18.3 MB / 1.119 GB, free: 299.6 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/1.694, allocations: 8.844 kB / 1.119 GB, free: 299.6 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/1.704, allocations: 2.314 MB / 1.121 GB, free: 298.6 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/1.731, allocations: 13.54 MB / 1.134 GB, free: 290.2 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/1.732, allocations: 0.7266 MB / 1.135 GB, free: 289.9 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/1.735, allocations: 0.7855 MB / 1.135 GB, free: 289.6 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/1.761, allocations: 14.89 MB / 1.15 GB, free: 280.3 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/1.762, allocations: 11.81 kB / 1.15 GB, free: 280.3 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/1.764, allocations: 299.1 kB / 1.15 GB, free: 280.1 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/1.764, allocations: 185.3 kB / 1.15 GB, free: 280.1 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02461/1.788, allocations: 19.36 MB / 1.169 GB, free: 261.6 MB / 0.7482 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.0824/1.871, allocations: 77.63 MB / 1.245 GB, free: 180.7 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/1.882, allocations: 10.61 MB / 1.256 GB, free: 170.3 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009671/1.892, allocations: 9.135 MB / 1.264 GB, free: 161.2 MB / 0.7482 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.04292/1.935, allocations: 32.78 MB / 1.297 GB, free: 128.1 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009729/1.945, allocations: 8.85 MB / 1.305 GB, free: 119.3 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0228/1.968, allocations: 9.835 MB / 1.315 GB, free: 109.6 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=421): time 1.156e-05/1.968, allocations: 0 / 1.315 GB, free: 109.6 MB / 0.7482 GB Notification: Performance of matching and sorting (n=605): time 1.003/2.971, allocations: 197.2 MB / 1.507 GB, free: 229.5 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/2.971, allocations: 124.1 kB / 1.507 GB, free: 229.3 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01812/2.989, allocations: 13.23 MB / 1.52 GB, free: 216.3 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.002572/2.992, allocations: 181.7 kB / 1.521 GB, free: 216.1 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.004572/2.996, allocations: 6.582 MB / 1.527 GB, free: 210.8 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.00296/2.999, allocations: 2.044 MB / 1.529 GB, free: 210 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009224/3, allocations: 156.9 kB / 1.529 GB, free: 209.9 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0002385/3, allocations: 0.6095 MB / 1.53 GB, free: 209.3 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01326/3.014, allocations: 9.368 MB / 1.539 GB, free: 199.9 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01421/3.028, allocations: 11.87 MB / 1.55 GB, free: 187 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/3.043, allocations: 10.26 MB / 1.561 GB, free: 176.7 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/3.043, allocations: 16 kB / 1.561 GB, free: 176.7 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5236/3.566, allocations: 123.9 MB / 1.682 GB, free: 52.53 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006434/3.567, allocations: 1.734 MB / 1.683 GB, free: 50.05 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/3.567, allocations: 56 kB / 1.683 GB, free: 49.99 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.859/4.426, allocations: 143.5 MB / 1.823 GB, free: 187.5 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/4.436, allocations: 2.067 MB / 1.825 GB, free: 185.5 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1227/4.559, allocations: 78.77 MB / 1.902 GB, free: 106.6 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/4.575, allocations: 1.257 MB / 1.904 GB, free: 105.4 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003127/4.578, allocations: 0.7802 MB / 1.904 GB, free: 104.6 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/4.578, allocations: 7.5 kB / 1.904 GB, free: 104.6 MB / 0.7482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8163/5.395, allocations: 122.8 MB / 2.024 GB, free: 226.5 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/5.395, allocations: 51.31 kB / 2.024 GB, free: 226.5 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5716/5.966, allocations: 143.3 MB / 2.164 GB, free: 120.4 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009275/5.976, allocations: 2.055 MB / 2.166 GB, free: 118.4 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1341/6.11, allocations: 82.72 MB / 2.247 GB, free: 35.62 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/6.126, allocations: 1.242 MB / 2.248 GB, free: 34.43 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003315/6.129, allocations: 0.7543 MB / 2.249 GB, free: 33.68 MB / 0.7482 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,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$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 (769): * Single equations (assignments): 755 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.009051/6.139, allocations: 3.36 MB / 2.252 GB, free: 30.39 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004621/6.143, allocations: 1.294 MB / 2.253 GB, free: 29.79 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4874/6.631, allocations: 49.33 MB / 2.302 GB, free: 246 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/6.631, allocations: 78.88 kB / 2.302 GB, free: 246 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-05/6.631, allocations: 30.34 kB / 2.302 GB, free: 246 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1563/6.787, allocations: 43.68 MB / 2.344 GB, free: 219.7 MB / 0.7482 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.1851/6.972, allocations: 64.31 MB / 2.407 GB, free: 155.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.584e-05/6.972, allocations: 4 kB / 2.407 GB, free: 155.7 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00699/6.979, allocations: 1.394 MB / 2.409 GB, free: 154.3 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1687/7.148, allocations: 42.77 MB / 2.45 GB, free: 111.7 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001769/7.15, allocations: 207.9 kB / 2.451 GB, free: 111.5 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0568/7.207, allocations: 35.56 MB / 2.485 GB, free: 75.93 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/7.207, allocations: 12.06 kB / 2.485 GB, free: 75.92 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4549/7.662, allocations: 56.38 MB / 2.54 GB, free: 230.3 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00825/7.67, allocations: 2.879 MB / 2.543 GB, free: 230.2 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002871/7.673, allocations: 132.9 kB / 2.543 GB, free: 230.2 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01043/7.683, allocations: 1.06 MB / 2.544 GB, free: 230.2 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001577/7.685, allocations: 0.4909 MB / 2.545 GB, free: 230.2 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008127/7.686, allocations: 296.7 kB / 2.545 GB, free: 230.2 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.01318/7.699, allocations: 8.948 MB / 2.554 GB, free: 229.9 MB / 0.7482 GB Notification: Performance of sort global known variables: time 3.3e-07/7.699, allocations: 3.25 kB / 2.554 GB, free: 229.9 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.0327/7.731, allocations: 7.359 MB / 2.561 GB, free: 229.9 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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,stepPump.y,stepPump.pulseStart,pumpHea.stage,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 (541): * Single equations (assignments): 519 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00281/7.734, allocations: 1.546 MB / 2.563 GB, free: 229.7 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.06577/7.8, allocations: 37.72 MB / 2.599 GB, free: 216.3 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/7.8, allocations: 11.34 kB / 2.599 GB, free: 216.3 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.02112/7.821, allocations: 10.66 MB / 2.61 GB, free: 212.1 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0345/7.856, allocations: 6.856 MB / 2.616 GB, free: 210.8 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05182/7.908, allocations: 33.37 MB / 2.649 GB, free: 185 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00622/7.914, allocations: 7.605 MB / 2.656 GB, free: 179.6 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.01735/7.931, allocations: 4.057 MB / 2.66 GB, free: 176.4 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003701/7.935, allocations: 1.042 MB / 2.661 GB, free: 175.5 MB / 0.7482 GB Notification: Performance of SimCode: time 6.12e-07/7.935, allocations: 4 kB / 2.661 GB, free: 175.5 MB / 0.7482 GB Notification: Performance of Templates: time 0.7424/8.677, allocations: 400.4 MB / 3.053 GB, free: 46.43 MB / 0.7482 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)