Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009853, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006313/0.006313, allocations: 170.2 kB / 16.27 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.4 MB / 423.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003927, allocations: 14 kB / 0.504 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4506, allocations: 81.57 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 0.6991/1.15, allocations: 348.1 MB / 0.9236 GB, free: 45.24 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08882/1.239, allocations: 72.27 MB / 0.9942 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01536/1.254, allocations: 377.5 kB / 0.9945 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0139/1.268, allocations: 3.855 MB / 0.9983 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.03397/1.302, allocations: 10.27 MB / 1.008 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0203/1.322, allocations: 7.169 MB / 1.015 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04876/1.371, allocations: 38.32 MB / 1.053 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02508/1.396, allocations: 15.17 MB / 1.068 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0306/1.427, allocations: 12.35 MB / 1.08 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02667/1.453, allocations: 13.12 MB / 1.092 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.005697/1.459, allocations: 0.9609 MB / 1.093 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/1.475, allocations: 4.099 MB / 1.097 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00828/1.483, allocations: 4.11 MB / 1.101 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.8916/2.375, allocations: 7.791 MB / 1.109 GB, free: 36.19 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.04099/2.416, allocations: 22.5 MB / 1.131 GB, free: 35.63 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/2.416, allocations: 0 / 1.131 GB, free: 35.63 MB / 0.7482 GB Notification: Performance of FrontEnd: time 3.307e-06/2.416, allocations: 2.625 kB / 1.131 GB, free: 35.63 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.000896/2.417, allocations: 3.094 kB / 1.131 GB, free: 35.63 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05014/2.467, allocations: 17.05 MB / 1.148 GB, free: 29.95 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/2.467, allocations: 14.19 kB / 1.148 GB, free: 29.95 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/2.48, allocations: 2.381 MB / 1.15 GB, free: 29.16 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02952/2.51, allocations: 12.68 MB / 1.162 GB, free: 26.91 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001973/2.512, allocations: 0.7849 MB / 1.163 GB, free: 26.89 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005246/2.517, allocations: 0.6902 MB / 1.164 GB, free: 26.89 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03961/2.556, allocations: 14.07 MB / 1.178 GB, free: 26.32 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003834/2.557, allocations: 8.625 kB / 1.178 GB, free: 26.32 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003891/2.561, allocations: 242.4 kB / 1.178 GB, free: 26.32 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/2.561, allocations: 153.5 kB / 1.178 GB, free: 26.32 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04022/2.601, allocations: 19.05 MB / 1.197 GB, free: 26.17 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.1389/2.74, allocations: 73.49 MB / 1.268 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/2.76, allocations: 10.64 MB / 1.279 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01629/2.777, allocations: 9.098 MB / 1.288 GB, free: 9.031 MB / 0.795 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.07579/2.852, allocations: 31.87 MB / 1.319 GB, free: 8.855 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01927/2.872, allocations: 8.903 MB / 1.327 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03488/2.907, allocations: 9.948 MB / 1.337 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=387): time 4.114e-05/2.907, allocations: 0 / 1.337 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=573): time 1.388/4.295, allocations: 220.1 MB / 1.552 GB, free: 397.1 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/4.295, allocations: 117.4 kB / 1.552 GB, free: 397 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02413/4.319, allocations: 12.56 MB / 1.564 GB, free: 384.6 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.00423/4.324, allocations: 170.4 kB / 1.565 GB, free: 384.4 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.00762/4.331, allocations: 5.95 MB / 1.57 GB, free: 379.5 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.004925/4.336, allocations: 1.926 MB / 1.572 GB, free: 378.9 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003817/4.34, allocations: 0.6762 MB / 1.573 GB, free: 378.2 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/4.34, allocations: 301.1 kB / 1.573 GB, free: 377.9 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/4.358, allocations: 10.1 MB / 1.583 GB, free: 367.8 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02035/4.379, allocations: 12.36 MB / 1.595 GB, free: 354.5 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03867/4.418, allocations: 22.11 MB / 1.617 GB, free: 331.7 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.365e-05/4.418, allocations: 12 kB / 1.617 GB, free: 331.7 MB / 0.9357 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.7055/5.123, allocations: 140.9 MB / 1.754 GB, free: 191 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 0.000634/5.124, allocations: 1.535 MB / 1.756 GB, free: 188.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/5.124, allocations: 45.31 kB / 1.756 GB, free: 188.8 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085/6.209, allocations: 166.4 MB / 1.918 GB, free: 423.7 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/6.221, allocations: 1.947 MB / 1.92 GB, free: 423.7 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1773/6.398, allocations: 95.53 MB / 2.014 GB, free: 399.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0202/6.418, allocations: 1.198 MB / 2.015 GB, free: 399.6 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005284/6.424, allocations: 0.7675 MB / 2.016 GB, free: 399.6 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/6.424, allocations: 3.969 kB / 2.016 GB, free: 399.6 MB / 0.9357 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6881/7.112, allocations: 138.3 MB / 2.151 GB, free: 265.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/7.112, allocations: 48 kB / 2.151 GB, free: 265.2 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7552/7.867, allocations: 165.9 MB / 2.313 GB, free: 99.05 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/7.878, allocations: 1.928 MB / 2.314 GB, free: 97.12 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5747/8.452, allocations: 99.32 MB / 2.411 GB, free: 413.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01985/8.472, allocations: 1.191 MB / 2.413 GB, free: 413.2 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004615/8.477, allocations: 0.7402 MB / 2.413 GB, free: 413.2 MB / 0.9357 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,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 (683): * Single equations (assignments): 669 * 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 {(32,39,82.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,78), (8,77)} Notification: Performance of prepare postOptimizeDAE: time 0.01175/8.489, allocations: 3.099 MB / 2.416 GB, free: 413 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004278/8.493, allocations: 1.201 MB / 2.418 GB, free: 413 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2397/8.733, allocations: 53.59 MB / 2.47 GB, free: 403.3 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001309/8.733, allocations: 78.23 kB / 2.47 GB, free: 403.2 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001523/8.733, allocations: 32.81 kB / 2.47 GB, free: 403.2 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2175/8.951, allocations: 48.04 MB / 2.517 GB, free: 374.6 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.2513/9.202, allocations: 67.69 MB / 2.583 GB, free: 307.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-05/9.202, allocations: 7.375 kB / 2.583 GB, free: 307.2 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007556/9.21, allocations: 1.353 MB / 2.584 GB, free: 305.9 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2219/9.432, allocations: 49.28 MB / 2.632 GB, free: 256.6 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002986/9.435, allocations: 195.9 kB / 2.633 GB, free: 256.4 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08838/9.523, allocations: 41.44 MB / 2.673 GB, free: 214.9 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/9.523, allocations: 12.03 kB / 2.673 GB, free: 214.9 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2315/9.755, allocations: 60.6 MB / 2.732 GB, free: 154.7 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0106/9.765, allocations: 2.723 MB / 2.735 GB, free: 152.1 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006242/9.771, allocations: 132 kB / 2.735 GB, free: 151.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01872/9.79, allocations: 1.027 MB / 2.736 GB, free: 150.9 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004643/9.795, allocations: 497.3 kB / 2.737 GB, free: 150.4 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002242/9.797, allocations: 267.8 kB / 2.737 GB, free: 150.2 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.01904/9.816, allocations: 8.546 MB / 2.745 GB, free: 141.7 MB / 0.9357 GB Notification: Performance of sort global known variables: time 5.71e-07/9.816, allocations: 3.938 kB / 2.745 GB, free: 141.7 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.0466/9.863, allocations: 6.896 MB / 2.752 GB, free: 134.9 MB / 0.9357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (504): * Single equations (assignments): 482 * 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 {(31,40,84.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (1,1), (8,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005003/9.868, allocations: 1.318 MB / 2.753 GB, free: 133.7 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.08776/9.956, allocations: 39 MB / 2.791 GB, free: 94.65 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/9.956, allocations: 7.766 kB / 2.791 GB, free: 94.64 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.02616/9.982, allocations: 10.9 MB / 2.802 GB, free: 83.73 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05343/10.04, allocations: 6.25 MB / 2.808 GB, free: 77.75 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0606/10.1, allocations: 32.38 MB / 2.84 GB, free: 45.26 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01273/10.11, allocations: 7.129 MB / 2.847 GB, free: 38.08 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.02164/10.13, allocations: 3.732 MB / 2.85 GB, free: 34.35 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005555/10.14, allocations: 0.9482 MB / 2.851 GB, free: 33.4 MB / 0.9357 GB Notification: Performance of SimCode: time 1.924e-06/10.14, allocations: 0 / 2.851 GB, free: 33.4 MB / 0.9357 GB Notification: Performance of Templates: time 0.9568/11.09, allocations: 402.5 MB / 3.244 GB, free: 107.2 MB / 0.9357 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)