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.001166/0.001166, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006883/0.006884, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7696/0.7696, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.000346, allocations: 8 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.439, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified4): time 0.7326/1.172, allocations: 348.1 MB / 0.9236 GB, free: 45.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08192/1.254, allocations: 72.27 MB / 0.9942 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/1.268, allocations: 377.5 kB / 0.9945 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01413/1.282, allocations: 4.337 MB / 0.9987 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.04127/1.323, allocations: 12.12 MB / 1.011 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0264/1.349, allocations: 8.573 MB / 1.019 GB, free: 8.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.05721/1.407, allocations: 44.97 MB / 1.063 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02873/1.436, allocations: 16.07 MB / 1.079 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03554/1.471, allocations: 13.36 MB / 1.092 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9203/2.391, allocations: 14.16 MB / 1.105 GB, free: 24.09 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.006966/2.398, allocations: 0.9948 MB / 1.106 GB, free: 24.09 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/2.417, allocations: 4.855 MB / 1.111 GB, free: 24.09 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.009577/2.426, allocations: 4.344 MB / 1.115 GB, free: 24.09 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.02587/2.452, allocations: 8.478 MB / 1.124 GB, free: 24.06 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.04267/2.495, allocations: 24.84 MB / 1.148 GB, free: 21.97 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/2.495, allocations: 0 / 1.148 GB, free: 21.97 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.304e-06/2.495, allocations: 0 / 1.148 GB, free: 21.97 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.001039/2.496, allocations: 0 / 1.148 GB, free: 21.97 MB / 0.7482 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.05788/2.554, allocations: 18.13 MB / 1.166 GB, free: 15.53 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/2.554, allocations: 11.19 kB / 1.166 GB, free: 15.53 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/2.569, allocations: 2.314 MB / 1.168 GB, free: 14.66 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03705/2.606, allocations: 14.03 MB / 1.182 GB, free: 12.21 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0014/2.608, allocations: 0.7183 MB / 1.182 GB, free: 12.19 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006122/2.614, allocations: 0.7855 MB / 1.183 GB, free: 12.18 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04344/2.657, allocations: 14.95 MB / 1.198 GB, free: 11.01 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005344/2.658, allocations: 15.94 kB / 1.198 GB, free: 11 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005061/2.663, allocations: 290.3 kB / 1.198 GB, free: 11 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/2.663, allocations: 191.2 kB / 1.198 GB, free: 11 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03876/2.702, allocations: 19.41 MB / 1.217 GB, free: 8.223 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.1436/2.845, allocations: 77.62 MB / 1.293 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02041/2.866, allocations: 10.62 MB / 1.303 GB, free: 8.832 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01563/2.882, allocations: 9.097 MB / 1.312 GB, free: 15.73 MB / 0.8263 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.07899/2.961, allocations: 32.73 MB / 1.344 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0188/2.979, allocations: 8.87 MB / 1.353 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03345/3.013, allocations: 9.837 MB / 1.362 GB, free: 11.98 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=421): time 3.649e-05/3.013, allocations: 0 / 1.362 GB, free: 11.98 MB / 0.8732 GB Notification: Performance of matching and sorting (n=605): time 1.282/4.295, allocations: 197.7 MB / 1.555 GB, free: 394.1 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/4.295, allocations: 120.2 kB / 1.556 GB, free: 393.9 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02545/4.32, allocations: 13.32 MB / 1.569 GB, free: 380.8 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.004252/4.325, allocations: 184.9 kB / 1.569 GB, free: 380.6 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.007471/4.332, allocations: 6.542 MB / 1.575 GB, free: 374.4 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.004847/4.337, allocations: 2.049 MB / 1.577 GB, free: 372.5 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004397/4.341, allocations: 0.7187 MB / 1.578 GB, free: 371.8 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/4.341, allocations: 301.1 kB / 1.578 GB, free: 371.5 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02041/4.362, allocations: 10.07 MB / 1.588 GB, free: 361.4 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02118/4.383, allocations: 12.52 MB / 1.6 GB, free: 347.9 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04072/4.424, allocations: 22.32 MB / 1.622 GB, free: 324.8 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/4.424, allocations: 16 kB / 1.622 GB, free: 324.7 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.6356/5.06, allocations: 125.5 MB / 1.745 GB, free: 199 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009936/5.061, allocations: 1.738 MB / 1.746 GB, free: 196.5 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/5.061, allocations: 56 kB / 1.746 GB, free: 196.4 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6626/5.723, allocations: 143.6 MB / 1.887 GB, free: 52.59 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/5.735, allocations: 2.068 MB / 1.889 GB, free: 50.52 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4771/6.212, allocations: 78.81 MB / 1.966 GB, free: 410.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02071/6.233, allocations: 1.24 MB / 1.967 GB, free: 410.3 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004667/6.237, allocations: 0.7846 MB / 1.968 GB, free: 410.2 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/6.237, allocations: 3.719 kB / 1.968 GB, free: 410.2 MB / 0.9357 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.624/6.861, allocations: 122.9 MB / 2.088 GB, free: 326.3 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/6.862, allocations: 52.19 kB / 2.088 GB, free: 326.2 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6452/7.507, allocations: 143.3 MB / 2.228 GB, free: 182.7 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009896/7.517, allocations: 2.059 MB / 2.23 GB, free: 180.6 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1478/7.665, allocations: 83.18 MB / 2.311 GB, free: 97.32 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02053/7.685, allocations: 1.224 MB / 2.312 GB, free: 96.15 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005004/7.69, allocations: 0.7568 MB / 2.313 GB, free: 95.39 MB / 0.9357 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,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * 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 (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.01113/7.701, allocations: 3.351 MB / 2.316 GB, free: 92.06 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004724/7.706, allocations: 1.302 MB / 2.317 GB, free: 91.14 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2088/7.915, allocations: 49.38 MB / 2.365 GB, free: 41.75 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.839e-05/7.915, allocations: 72 kB / 2.366 GB, free: 41.68 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.958e-05/7.915, allocations: 32 kB / 2.366 GB, free: 41.64 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5353/8.451, allocations: 43.74 MB / 2.408 GB, free: 414.7 MB / 0.9357 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.2654/8.716, allocations: 64.35 MB / 2.471 GB, free: 401.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.211e-05/8.716, allocations: 7.094 kB / 2.471 GB, free: 401.9 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007687/8.724, allocations: 1.395 MB / 2.473 GB, free: 401.8 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1977/8.922, allocations: 42.78 MB / 2.514 GB, free: 369.4 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002482/8.924, allocations: 203.9 kB / 2.514 GB, free: 369.2 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0665/8.991, allocations: 35.61 MB / 2.549 GB, free: 333.6 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/8.991, allocations: 8.031 kB / 2.549 GB, free: 333.6 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2106/9.201, allocations: 56.48 MB / 2.604 GB, free: 277.7 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01113/9.212, allocations: 2.885 MB / 2.607 GB, free: 274.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005626/9.218, allocations: 132 kB / 2.607 GB, free: 274.7 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0161/9.234, allocations: 1.064 MB / 2.608 GB, free: 273.7 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003315/9.238, allocations: 0.4895 MB / 2.609 GB, free: 273.2 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001629/9.239, allocations: 295.8 kB / 2.609 GB, free: 272.9 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.01633/9.256, allocations: 9.05 MB / 2.618 GB, free: 263.9 MB / 0.9357 GB Notification: Performance of sort global known variables: time 5.41e-07/9.256, allocations: 0 / 2.618 GB, free: 263.9 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.04564/9.301, allocations: 7.334 MB / 2.625 GB, free: 256.7 MB / 0.9357 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 (not torn): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (5,80), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00505/9.306, allocations: 1.612 MB / 2.627 GB, free: 255.5 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.08394/9.39, allocations: 38.48 MB / 2.664 GB, free: 217.1 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/9.39, allocations: 0 / 2.664 GB, free: 217.1 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.02333/9.414, allocations: 10.69 MB / 2.675 GB, free: 206.5 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05923/9.473, allocations: 6.817 MB / 2.681 GB, free: 200.1 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06165/9.535, allocations: 34.79 MB / 2.715 GB, free: 165.2 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/9.547, allocations: 7.601 MB / 2.723 GB, free: 157.6 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.02161/9.569, allocations: 4.057 MB / 2.727 GB, free: 153.5 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005566/9.575, allocations: 1.038 MB / 2.728 GB, free: 152.5 MB / 0.9357 GB Notification: Performance of SimCode: time 1.182e-06/9.575, allocations: 0 / 2.728 GB, free: 152.5 MB / 0.9357 GB Notification: Performance of Templates: time 0.9395/10.51, allocations: 409.9 MB / 3.128 GB, free: 211.1 MB / 0.9357 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)