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.0009413/0.0009413, allocations: 86.72 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.0009956/0.0009956, 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.288/1.288, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 8 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.336, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 0.591/0.927, allocations: 328.6 MB / 0.904 GB, free: 55.36 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.07523/1.002, allocations: 68.56 MB / 0.9709 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01235/1.015, allocations: 361.6 kB / 0.9713 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01001/1.025, allocations: 3.14 MB / 0.9744 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02394/1.049, allocations: 8.895 MB / 0.983 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01532/1.064, allocations: 6.033 MB / 0.9889 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0373/1.101, allocations: 32.79 MB / 1.021 GB, free: 6.227 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02374/1.125, allocations: 14.24 MB / 1.035 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02584/1.151, allocations: 11.9 MB / 1.046 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02323/1.174, allocations: 12.6 MB / 1.059 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005212/1.179, allocations: 0.9688 MB / 1.06 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/1.193, allocations: 3.335 MB / 1.063 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00684/1.2, allocations: 4.045 MB / 1.067 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006644/1.207, allocations: 2.647 MB / 1.07 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02083/1.228, allocations: 17.57 MB / 1.087 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.228, allocations: 0 / 1.087 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/1.228, allocations: 4 kB / 1.087 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004618/1.228, allocations: 0 / 1.087 GB, free: 2.664 MB / 0.7325 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.03829/1.266, allocations: 17.22 MB / 1.103 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/1.266, allocations: 12.03 kB / 1.104 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4903/1.757, allocations: 2.376 MB / 1.106 GB, free: 302 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0252/1.782, allocations: 12.19 MB / 1.118 GB, free: 298.1 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001438/1.783, allocations: 0.7856 MB / 1.118 GB, free: 297.8 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002369/1.786, allocations: 0.6879 MB / 1.119 GB, free: 297.6 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/1.809, allocations: 14.03 MB / 1.133 GB, free: 289.8 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-05/1.809, allocations: 10.53 kB / 1.133 GB, free: 289.8 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009512/1.81, allocations: 245.2 kB / 1.133 GB, free: 289.7 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.022e-05/1.81, allocations: 154.2 kB / 1.133 GB, free: 289.6 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/1.838, allocations: 19.01 MB / 1.152 GB, free: 280.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 removeSimpleEquations (simulation): time 0.09181/1.929, allocations: 73.5 MB / 1.224 GB, free: 203.5 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.943, allocations: 10.61 MB / 1.234 GB, free: 193.2 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01117/1.955, allocations: 9.14 MB / 1.243 GB, free: 184.1 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.04524/2, allocations: 31.91 MB / 1.274 GB, free: 151.9 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01061/2.01, allocations: 8.885 MB / 1.283 GB, free: 143 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02328/2.034, allocations: 9.948 MB / 1.292 GB, free: 133.5 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=387): time 2.352e-05/2.034, allocations: 6.984 kB / 1.292 GB, free: 133.5 MB / 0.7482 GB Notification: Performance of matching and sorting (n=573): time 1.158/3.192, allocations: 219.6 MB / 1.507 GB, free: 234.5 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/3.192, allocations: 111.9 kB / 1.507 GB, free: 234.4 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/3.207, allocations: 12.46 MB / 1.519 GB, free: 222.1 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.002595/3.209, allocations: 177.7 kB / 1.519 GB, free: 221.9 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003896/3.213, allocations: 5.961 MB / 1.525 GB, free: 217 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.002786/3.216, allocations: 1.938 MB / 1.527 GB, free: 215.7 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009534/3.217, allocations: 145.2 kB / 1.527 GB, free: 215.6 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0002428/3.217, allocations: 0.5887 MB / 1.528 GB, free: 215 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01413/3.231, allocations: 9.397 MB / 1.537 GB, free: 205.6 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01514/3.246, allocations: 11.71 MB / 1.548 GB, free: 192.9 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/3.262, allocations: 10.21 MB / 1.558 GB, free: 182.7 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/3.262, allocations: 12 kB / 1.558 GB, free: 182.7 MB / 0.7482 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6034/3.865, allocations: 139.3 MB / 1.694 GB, free: 43.13 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005318/3.866, allocations: 1.535 MB / 1.696 GB, free: 40.94 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/3.866, allocations: 48 kB / 1.696 GB, free: 40.89 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9494/4.815, allocations: 166.1 MB / 1.858 GB, free: 162.3 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009626/4.825, allocations: 1.955 MB / 1.86 GB, free: 160.4 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1557/4.981, allocations: 95.44 MB / 1.953 GB, free: 64.86 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01492/4.996, allocations: 1.219 MB / 1.954 GB, free: 63.68 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/4.998, allocations: 0.7675 MB / 1.955 GB, free: 62.92 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/4.998, allocations: 4 kB / 1.955 GB, free: 62.91 MB / 0.7482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8858/5.884, allocations: 138.2 MB / 2.09 GB, free: 213.2 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.805e-05/5.884, allocations: 54.45 kB / 2.09 GB, free: 213.2 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6718/6.556, allocations: 165.8 MB / 2.252 GB, free: 47.86 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008819/6.565, allocations: 1.93 MB / 2.254 GB, free: 46.01 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4561/7.021, allocations: 99.54 MB / 2.351 GB, free: 217.1 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01528/7.036, allocations: 1.208 MB / 2.352 GB, free: 217 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003189/7.039, allocations: 0.7419 MB / 2.353 GB, free: 216.9 MB / 0.7482 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,$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 (683): * Single equations (assignments): 669 * 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 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008731/7.048, allocations: 3.096 MB / 2.356 GB, free: 215.6 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004065/7.052, allocations: 1.204 MB / 2.357 GB, free: 215.6 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2013/7.254, allocations: 53.56 MB / 2.41 GB, free: 173.2 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.651e-05/7.254, allocations: 72 kB / 2.41 GB, free: 173.1 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.359e-05/7.254, allocations: 35.94 kB / 2.41 GB, free: 173.1 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.184/7.438, allocations: 47.97 MB / 2.457 GB, free: 125.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 postOpt removeSimpleEquations (simulation): time 0.2049/7.643, allocations: 67.64 MB / 2.523 GB, free: 57.88 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/7.643, allocations: 8 kB / 2.523 GB, free: 57.87 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006517/7.649, allocations: 1.35 MB / 2.524 GB, free: 56.54 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4717/8.121, allocations: 49.25 MB / 2.572 GB, free: 232 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001472/8.122, allocations: 201.2 kB / 2.572 GB, free: 232 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07268/8.195, allocations: 41.39 MB / 2.613 GB, free: 219.3 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/8.195, allocations: 10.53 kB / 2.613 GB, free: 219.3 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1991/8.394, allocations: 60.5 MB / 2.672 GB, free: 192 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006371/8.401, allocations: 2.731 MB / 2.674 GB, free: 189.6 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/8.403, allocations: 124 kB / 2.675 GB, free: 189.5 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009199/8.412, allocations: 1.038 MB / 2.676 GB, free: 188.5 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001447/8.413, allocations: 493.3 kB / 2.676 GB, free: 188.1 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006926/8.414, allocations: 275.8 kB / 2.676 GB, free: 187.8 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.01036/8.424, allocations: 8.453 MB / 2.685 GB, free: 179.4 MB / 0.7482 GB Notification: Performance of sort global known variables: time 1.5e-07/8.424, allocations: 0 / 2.685 GB, free: 179.4 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.02754/8.452, allocations: 6.917 MB / 2.691 GB, free: 172.6 MB / 0.7482 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 (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 {(31,84.4%) 40} * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.002445/8.454, allocations: 1.277 MB / 2.693 GB, free: 171.6 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.07204/8.526, allocations: 38.37 MB / 2.73 GB, free: 133.4 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/8.526, allocations: 4 kB / 2.73 GB, free: 133.4 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.02025/8.547, allocations: 10.87 MB / 2.741 GB, free: 122.6 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02494/8.572, allocations: 6.295 MB / 2.747 GB, free: 116.8 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03868/8.61, allocations: 31.11 MB / 2.777 GB, free: 85.83 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005241/8.616, allocations: 7.129 MB / 2.784 GB, free: 78.65 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.01458/8.63, allocations: 3.736 MB / 2.788 GB, free: 74.91 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/8.633, allocations: 0.9559 MB / 2.789 GB, free: 73.96 MB / 0.7482 GB Notification: Performance of SimCode: time 7.42e-07/8.633, allocations: 0 / 2.789 GB, free: 73.96 MB / 0.7482 GB Notification: Performance of Templates: time 0.9843/9.617, allocations: 392.7 MB / 3.172 GB, free: 213.4 MB / 0.7482 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)