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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007983/0.0007983, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 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: 172.9 kB / 16.92 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9595/0.9595, allocations: 135.3 MB / 427.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8.5 kB / 0.5082 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 82.31 MB / 0.5886 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified4): time 1.062/1.221, allocations: 348 MB / 0.9285 GB, free: 49.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09885/1.32, allocations: 72.28 MB / 0.9991 GB, free: 39.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01992/1.34, allocations: 382.6 kB / 0.9995 GB, free: 39.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01593/1.356, allocations: 4.342 MB / 1.004 GB, free: 36.72 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03962/1.396, allocations: 12.12 MB / 1.016 GB, free: 28.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02135/1.417, allocations: 8.567 MB / 1.024 GB, free: 23.65 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04491/1.462, allocations: 44.96 MB / 1.068 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02479/1.487, allocations: 16.08 MB / 1.084 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03168/1.519, allocations: 13.35 MB / 1.097 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02747/1.546, allocations: 14.16 MB / 1.11 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.006652/1.553, allocations: 0.9922 MB / 1.111 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02007/1.573, allocations: 4.857 MB / 1.116 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.009704/1.583, allocations: 4.34 MB / 1.12 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02269/1.606, allocations: 8.479 MB / 1.129 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.032/1.638, allocations: 19.55 MB / 1.148 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.638, allocations: 0 / 1.148 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.945e-06/1.638, allocations: 0 / 1.148 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0009176/1.639, allocations: 0 / 1.148 GB, free: 15.88 MB / 0.7794 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.6706/2.309, allocations: 18.13 MB / 1.165 GB, free: 302.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/2.309, allocations: 9.938 kB / 1.165 GB, free: 302.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/2.32, allocations: 2.317 MB / 1.168 GB, free: 301.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/2.35, allocations: 14.03 MB / 1.181 GB, free: 297.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/2.352, allocations: 0.7223 MB / 1.182 GB, free: 297.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004318/2.356, allocations: 0.7851 MB / 1.183 GB, free: 296.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03463/2.391, allocations: 14.96 MB / 1.197 GB, free: 291.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003805/2.391, allocations: 9.297 kB / 1.197 GB, free: 291.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003293/2.394, allocations: 291.5 kB / 1.198 GB, free: 291.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002958/2.395, allocations: 189.6 kB / 1.198 GB, free: 291.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04154/2.436, allocations: 19.41 MB / 1.217 GB, free: 285 MB / 0.7794 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.1211/2.557, allocations: 77.6 MB / 1.293 GB, free: 216 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/2.573, allocations: 10.64 MB / 1.303 GB, free: 205.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/2.585, allocations: 9.094 MB / 1.312 GB, free: 196.5 MB / 0.7794 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.06251/2.648, allocations: 32.74 MB / 1.344 GB, free: 163.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01415/2.662, allocations: 8.866 MB / 1.353 GB, free: 154.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02664/2.689, allocations: 9.841 MB / 1.362 GB, free: 145.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=421): time 2.855e-05/2.689, allocations: 4 kB / 1.362 GB, free: 145.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=605): time 1.238/3.927, allocations: 197.7 MB / 1.555 GB, free: 268.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/3.927, allocations: 117.3 kB / 1.555 GB, free: 268 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0292/3.956, allocations: 13.34 MB / 1.568 GB, free: 261.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.003505/3.96, allocations: 182.4 kB / 1.569 GB, free: 261.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00746/3.967, allocations: 6.533 MB / 1.575 GB, free: 256.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004797/3.972, allocations: 2.046 MB / 1.577 GB, free: 256.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003445/3.975, allocations: 0.7181 MB / 1.578 GB, free: 256.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/3.976, allocations: 305.1 kB / 1.578 GB, free: 255.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01798/3.994, allocations: 10.08 MB / 1.588 GB, free: 250.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01977/4.013, allocations: 12.52 MB / 1.6 GB, free: 241.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04133/4.055, allocations: 22.33 MB / 1.622 GB, free: 225.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.118e-05/4.055, allocations: 12 kB / 1.622 GB, free: 225.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.6007/4.655, allocations: 125.5 MB / 1.744 GB, free: 100.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001045/4.657, allocations: 1.738 MB / 1.746 GB, free: 97.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/4.657, allocations: 57.17 kB / 1.746 GB, free: 97.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019/5.676, allocations: 143.6 MB / 1.886 GB, free: 249.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/5.688, allocations: 2.065 MB / 1.888 GB, free: 249.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1545/5.842, allocations: 78.82 MB / 1.965 GB, free: 182.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01865/5.861, allocations: 1.24 MB / 1.967 GB, free: 181.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003881/5.865, allocations: 0.7815 MB / 1.967 GB, free: 180.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/5.865, allocations: 4 kB / 1.967 GB, free: 180.7 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5917/6.457, allocations: 122.9 MB / 2.087 GB, free: 57.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/6.457, allocations: 55.81 kB / 2.087 GB, free: 57.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029/7.486, allocations: 143.3 MB / 2.227 GB, free: 222.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/7.496, allocations: 2.051 MB / 2.229 GB, free: 221.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1619/7.658, allocations: 83.18 MB / 2.311 GB, free: 139.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01894/7.677, allocations: 1.225 MB / 2.312 GB, free: 138.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004242/7.681, allocations: 0.7528 MB / 2.312 GB, free: 137.9 MB / 0.7794 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.01121/7.693, allocations: 3.362 MB / 2.316 GB, free: 134.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004491/7.697, allocations: 1.293 MB / 2.317 GB, free: 134 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2042/7.901, allocations: 49.38 MB / 2.365 GB, free: 84.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002056/7.902, allocations: 75.98 kB / 2.365 GB, free: 84.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002289/7.902, allocations: 32 kB / 2.365 GB, free: 84.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1851/8.087, allocations: 43.76 MB / 2.408 GB, free: 40.67 MB / 0.7794 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.6419/8.729, allocations: 64.33 MB / 2.471 GB, free: 237.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-05/8.729, allocations: 10.34 kB / 2.471 GB, free: 237.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007748/8.737, allocations: 1.396 MB / 2.472 GB, free: 237.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2196/8.956, allocations: 42.78 MB / 2.514 GB, free: 234.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002033/8.958, allocations: 198 kB / 2.514 GB, free: 234.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06535/9.024, allocations: 35.6 MB / 2.549 GB, free: 204.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/9.024, allocations: 18.66 kB / 2.549 GB, free: 204.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2422/9.266, allocations: 56.48 MB / 2.604 GB, free: 151.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01446/9.281, allocations: 2.876 MB / 2.607 GB, free: 148.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007244/9.288, allocations: 139.9 kB / 2.607 GB, free: 148.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01766/9.306, allocations: 1.06 MB / 2.608 GB, free: 147.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003248/9.309, allocations: 0.492 MB / 2.609 GB, free: 147.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001672/9.311, allocations: 302.1 kB / 2.609 GB, free: 147.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01737/9.328, allocations: 9.046 MB / 2.618 GB, free: 138.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.81e-07/9.328, allocations: 0 / 2.618 GB, free: 138.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0443/9.372, allocations: 7.341 MB / 2.625 GB, free: 130.9 MB / 0.7794 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.005345/9.378, allocations: 1.599 MB / 2.627 GB, free: 129.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.08525/9.463, allocations: 38.46 MB / 2.664 GB, free: 91.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/9.463, allocations: 4 kB / 2.664 GB, free: 91.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02401/9.487, allocations: 10.68 MB / 2.674 GB, free: 80.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05802/9.545, allocations: 6.828 MB / 2.681 GB, free: 74.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06397/9.609, allocations: 34.83 MB / 2.715 GB, free: 39.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/9.62, allocations: 7.412 MB / 2.722 GB, free: 32.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00528/9.626, allocations: 1.096 MB / 2.723 GB, free: 31.33 MB / 0.7794 GB Notification: Performance of SimCode: time 2.736e-06/9.626, allocations: 0 / 2.723 GB, free: 31.33 MB / 0.7794 GB Notification: Performance of Templates: time 2.134/11.76, allocations: 0.8305 GB / 3.554 GB, free: 54.83 MB / 0.7794 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)