Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001024/0.001024, allocations: 97.95 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.007943/0.007944, allocations: 174 kB / 16.27 MB, free: 6.648 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9542/0.9542, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.000362, allocations: 16.27 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1779, allocations: 82.3 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 0.9857/1.164, allocations: 348.1 MB / 0.9279 GB, free: 49.62 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09097/1.255, allocations: 72.29 MB / 0.9985 GB, free: 40.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01621/1.271, allocations: 379.2 kB / 0.9988 GB, free: 39.95 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01235/1.283, allocations: 3.85 MB / 1.003 GB, free: 37.14 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03216/1.315, allocations: 10.28 MB / 1.013 GB, free: 30.55 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0173/1.333, allocations: 7.161 MB / 1.02 GB, free: 26.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04003/1.373, allocations: 38.31 MB / 1.057 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02413/1.397, allocations: 15.18 MB / 1.072 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02751/1.425, allocations: 12.35 MB / 1.084 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02414/1.449, allocations: 13.13 MB / 1.097 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00816/1.457, allocations: 0.9609 MB / 1.098 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/1.476, allocations: 4.1 MB / 1.102 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.008841/1.485, allocations: 4.101 MB / 1.106 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02443/1.509, allocations: 7.809 MB / 1.113 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04005/1.549, allocations: 22.5 MB / 1.135 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.549, allocations: 0 / 1.135 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.634e-06/1.549, allocations: 0 / 1.135 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0008364/1.55, allocations: 7.875 kB / 1.135 GB, free: 11.3 MB / 0.7637 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.04718/1.597, allocations: 17.05 MB / 1.152 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/1.597, allocations: 8.031 kB / 1.152 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/1.61, allocations: 2.379 MB / 1.154 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6087/2.219, allocations: 12.67 MB / 1.167 GB, free: 302.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001688/2.221, allocations: 0.7785 MB / 1.167 GB, free: 302.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003063/2.224, allocations: 0.6893 MB / 1.168 GB, free: 302.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0254/2.249, allocations: 14.07 MB / 1.182 GB, free: 297.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/2.249, allocations: 3.156 kB / 1.182 GB, free: 297.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00142/2.251, allocations: 249.7 kB / 1.182 GB, free: 297.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/2.251, allocations: 153.7 kB / 1.182 GB, free: 297.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03168/2.283, allocations: 19.04 MB / 1.201 GB, free: 291.4 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.1028/2.385, allocations: 73.47 MB / 1.273 GB, free: 238.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/2.4, allocations: 10.64 MB / 1.283 GB, free: 228 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01145/2.412, allocations: 9.102 MB / 1.292 GB, free: 219 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.05895/2.471, allocations: 31.88 MB / 1.323 GB, free: 186.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01328/2.484, allocations: 8.891 MB / 1.332 GB, free: 177.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02721/2.511, allocations: 9.956 MB / 1.341 GB, free: 168.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=387): time 4.158e-05/2.512, allocations: 0 / 1.341 GB, free: 168.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=573): time 1.324/3.835, allocations: 220.1 MB / 1.556 GB, free: 269.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/3.836, allocations: 111.9 kB / 1.556 GB, free: 269.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02065/3.856, allocations: 12.56 MB / 1.569 GB, free: 263.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.003222/3.859, allocations: 172.1 kB / 1.569 GB, free: 263.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.004884/3.864, allocations: 5.942 MB / 1.575 GB, free: 259 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003813/3.868, allocations: 1.93 MB / 1.577 GB, free: 258.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003116/3.871, allocations: 0.6767 MB / 1.577 GB, free: 258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/3.871, allocations: 304.8 kB / 1.578 GB, free: 257.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01717/3.889, allocations: 10.11 MB / 1.587 GB, free: 252.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01888/3.907, allocations: 12.35 MB / 1.599 GB, free: 244.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0408/3.948, allocations: 22.11 MB / 1.621 GB, free: 230.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.381e-05/3.948, allocations: 13.97 kB / 1.621 GB, free: 230.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.7236/4.672, allocations: 140.9 MB / 1.759 GB, free: 90.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008252/4.673, allocations: 1.536 MB / 1.76 GB, free: 88.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/4.673, allocations: 48 kB / 1.76 GB, free: 88.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082/5.755, allocations: 166.4 MB / 1.923 GB, free: 237.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/5.766, allocations: 1.949 MB / 1.925 GB, free: 235.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1713/5.937, allocations: 95.52 MB / 2.018 GB, free: 140.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02102/5.958, allocations: 1.195 MB / 2.019 GB, free: 139.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005371/5.963, allocations: 0.7724 MB / 2.02 GB, free: 138.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/5.963, allocations: 4.938 kB / 2.02 GB, free: 138.3 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.019/6.983, allocations: 138.3 MB / 2.155 GB, free: 225.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/6.983, allocations: 46.34 kB / 2.155 GB, free: 225.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7822/7.765, allocations: 165.9 MB / 2.317 GB, free: 150.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009768/7.775, allocations: 1.927 MB / 2.319 GB, free: 148.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1816/7.957, allocations: 99.34 MB / 2.416 GB, free: 48.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01833/7.975, allocations: 1.188 MB / 2.417 GB, free: 47.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004347/7.979, allocations: 0.7439 MB / 2.418 GB, free: 47.08 MB / 0.7794 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.012/7.991, allocations: 3.096 MB / 2.421 GB, free: 44.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006217/7.998, allocations: 1.204 MB / 2.422 GB, free: 43.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.622/8.62, allocations: 53.58 MB / 2.474 GB, free: 249.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001558/8.62, allocations: 73.75 kB / 2.474 GB, free: 249.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001681/8.62, allocations: 34.16 kB / 2.474 GB, free: 249.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2207/8.841, allocations: 48.03 MB / 2.521 GB, free: 245.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 postOpt removeSimpleEquations (simulation): time 0.2524/9.093, allocations: 67.71 MB / 2.587 GB, free: 191.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.6e-05/9.093, allocations: 11.98 kB / 2.587 GB, free: 191.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007438/9.101, allocations: 1.355 MB / 2.589 GB, free: 190.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2251/9.326, allocations: 49.28 MB / 2.637 GB, free: 141.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001895/9.328, allocations: 195.9 kB / 2.637 GB, free: 141.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07835/9.406, allocations: 41.43 MB / 2.677 GB, free: 99.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/9.406, allocations: 12.03 kB / 2.677 GB, free: 99.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2373/9.643, allocations: 60.6 MB / 2.737 GB, free: 39.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008846/9.652, allocations: 2.727 MB / 2.739 GB, free: 37.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004216/9.657, allocations: 128 kB / 2.739 GB, free: 37.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01518/9.672, allocations: 1.019 MB / 2.74 GB, free: 36.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003255/9.675, allocations: 0.4929 MB / 2.741 GB, free: 36.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001584/9.677, allocations: 275.8 kB / 2.741 GB, free: 35.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01493/9.692, allocations: 8.542 MB / 2.749 GB, free: 27.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.9e-07/9.692, allocations: 0 / 2.749 GB, free: 27.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.03913/9.731, allocations: 6.897 MB / 2.756 GB, free: 20.69 MB / 0.7794 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.003985/9.735, allocations: 1.328 MB / 2.757 GB, free: 19.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.4061/10.14, allocations: 38.99 MB / 2.796 GB, free: 255.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/10.14, allocations: 2.156 kB / 2.796 GB, free: 255.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02733/10.17, allocations: 10.89 MB / 2.806 GB, free: 251.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05343/10.22, allocations: 6.252 MB / 2.812 GB, free: 250.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0546/10.28, allocations: 32.38 MB / 2.844 GB, free: 234.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/10.29, allocations: 7.138 MB / 2.851 GB, free: 232.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.01944/10.31, allocations: 3.732 MB / 2.855 GB, free: 232.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004585/10.31, allocations: 0.9418 MB / 2.855 GB, free: 232.2 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/10.31, allocations: 5.188 kB / 2.855 GB, free: 232.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.8492/11.16, allocations: 402.5 MB / 3.249 GB, free: 142.9 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)