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.0008412/0.0008412, allocations: 99.58 kB / 16.02 MB, free: 76 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.001139/0.001139, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9763/0.9763, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 12 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1757, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 1.158/1.334, allocations: 348.1 MB / 0.9285 GB, free: 49.56 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1093/1.443, allocations: 72.29 MB / 0.9991 GB, free: 39.97 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02092/1.464, allocations: 381.8 kB / 0.9995 GB, free: 39.89 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01417/1.479, allocations: 3.848 MB / 1.003 GB, free: 37.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03836/1.517, allocations: 10.28 MB / 1.013 GB, free: 30.49 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02005/1.537, allocations: 7.155 MB / 1.02 GB, free: 26.12 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0415/1.579, allocations: 38.32 MB / 1.058 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02745/1.606, allocations: 15.17 MB / 1.073 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.032/1.638, allocations: 12.35 MB / 1.085 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02776/1.666, allocations: 13.12 MB / 1.097 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.007342/1.673, allocations: 0.9648 MB / 1.098 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02409/1.697, allocations: 4.098 MB / 1.102 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01189/1.709, allocations: 4.103 MB / 1.106 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02433/1.734, allocations: 7.809 MB / 1.114 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02928/1.763, allocations: 17.61 MB / 1.131 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.763, allocations: 0 / 1.131 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.025e-06/1.763, allocations: 0 / 1.131 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0008817/1.764, allocations: 0 / 1.131 GB, free: 15.92 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.05009/1.814, allocations: 17.05 MB / 1.148 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.814, allocations: 11.97 kB / 1.148 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/1.828, allocations: 2.383 MB / 1.15 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03463/1.862, allocations: 12.69 MB / 1.163 GB, free: 40 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.7027/2.565, allocations: 0.7784 MB / 1.163 GB, free: 303 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/2.57, allocations: 0.6777 MB / 1.164 GB, free: 303 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03575/2.605, allocations: 14.07 MB / 1.178 GB, free: 299.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002806/2.606, allocations: 8.656 kB / 1.178 GB, free: 299.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003702/2.609, allocations: 248.2 kB / 1.178 GB, free: 299.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/2.61, allocations: 151.5 kB / 1.178 GB, free: 299.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03687/2.647, allocations: 19.05 MB / 1.197 GB, free: 293.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 removeSimpleEquations (simulation): time 0.1299/2.776, allocations: 73.47 MB / 1.268 GB, free: 242.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/2.793, allocations: 10.63 MB / 1.279 GB, free: 233.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01342/2.806, allocations: 9.105 MB / 1.288 GB, free: 224.3 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.06664/2.873, allocations: 31.87 MB / 1.319 GB, free: 192.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01543/2.889, allocations: 8.907 MB / 1.328 GB, free: 183.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02794/2.917, allocations: 9.949 MB / 1.337 GB, free: 173.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=387): time 3.26e-05/2.917, allocations: 0 / 1.337 GB, free: 173.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=573): time 1.382/4.299, allocations: 220.1 MB / 1.552 GB, free: 269.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/4.299, allocations: 114.2 kB / 1.552 GB, free: 269.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03276/4.332, allocations: 12.56 MB / 1.565 GB, free: 264.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.004145/4.336, allocations: 169.3 kB / 1.565 GB, free: 264.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.008206/4.344, allocations: 5.94 MB / 1.571 GB, free: 260.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.005028/4.349, allocations: 1.932 MB / 1.572 GB, free: 260.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004266/4.353, allocations: 0.6791 MB / 1.573 GB, free: 259.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/4.353, allocations: 301.1 kB / 1.573 GB, free: 259.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01988/4.373, allocations: 10.11 MB / 1.583 GB, free: 254 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02141/4.395, allocations: 12.36 MB / 1.595 GB, free: 245.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04166/4.436, allocations: 22.1 MB / 1.617 GB, free: 232.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.368e-05/4.437, allocations: 21.33 kB / 1.617 GB, free: 232.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6802/5.117, allocations: 140.9 MB / 1.754 GB, free: 95.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009692/5.118, allocations: 1.535 MB / 1.756 GB, free: 93.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/5.118, allocations: 51.98 kB / 1.756 GB, free: 93.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1/6.218, allocations: 166.4 MB / 1.919 GB, free: 239.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/6.228, allocations: 1.946 MB / 1.92 GB, free: 239 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.185/6.413, allocations: 95.52 MB / 2.014 GB, free: 145.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01786/6.431, allocations: 1.198 MB / 2.015 GB, free: 144.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004038/6.435, allocations: 0.7756 MB / 2.016 GB, free: 143.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/6.435, allocations: 4 kB / 2.016 GB, free: 143.6 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.002/7.437, allocations: 138.3 MB / 2.151 GB, free: 222.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/7.438, allocations: 44.44 kB / 2.151 GB, free: 222.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7363/8.174, allocations: 165.9 MB / 2.313 GB, free: 155.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009473/8.183, allocations: 1.922 MB / 2.315 GB, free: 153.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2044/8.388, allocations: 99.34 MB / 2.412 GB, free: 54.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01806/8.406, allocations: 1.187 MB / 2.413 GB, free: 53.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003787/8.41, allocations: 0.7372 MB / 2.413 GB, free: 52.39 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.01055/8.42, allocations: 3.098 MB / 2.417 GB, free: 49.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005771/8.426, allocations: 1.201 MB / 2.418 GB, free: 48.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5727/8.999, allocations: 53.6 MB / 2.47 GB, free: 246.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001414/8.999, allocations: 72.75 kB / 2.47 GB, free: 246.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002276/8.999, allocations: 37.53 kB / 2.47 GB, free: 246.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2168/9.216, allocations: 48.02 MB / 2.517 GB, free: 244.9 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.2526/9.469, allocations: 67.71 MB / 2.583 GB, free: 197 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.154e-05/9.469, allocations: 8 kB / 2.583 GB, free: 197 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006843/9.476, allocations: 1.353 MB / 2.584 GB, free: 195.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.216/9.692, allocations: 49.28 MB / 2.633 GB, free: 146.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002166/9.694, allocations: 199.8 kB / 2.633 GB, free: 146.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08149/9.776, allocations: 41.42 MB / 2.673 GB, free: 105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/9.776, allocations: 4 kB / 2.673 GB, free: 105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2245/10, allocations: 60.61 MB / 2.732 GB, free: 45.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009524/10.01, allocations: 2.725 MB / 2.735 GB, free: 43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005438/10.02, allocations: 127.9 kB / 2.735 GB, free: 42.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01473/10.03, allocations: 1.024 MB / 2.736 GB, free: 41.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003676/10.03, allocations: 0.489 MB / 2.737 GB, free: 41.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002348/10.04, allocations: 275.8 kB / 2.737 GB, free: 41.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01666/10.05, allocations: 8.539 MB / 2.745 GB, free: 32.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.71e-07/10.05, allocations: 0 / 2.745 GB, free: 32.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.04069/10.09, allocations: 6.895 MB / 2.752 GB, free: 25.91 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.00488/10.1, allocations: 1.333 MB / 2.753 GB, free: 24.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.4129/10.51, allocations: 38.96 MB / 2.791 GB, free: 255.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/10.51, allocations: 4.25 kB / 2.791 GB, free: 255.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02729/10.54, allocations: 10.88 MB / 2.802 GB, free: 251 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0576/10.6, allocations: 6.258 MB / 2.808 GB, free: 249.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06129/10.66, allocations: 32.46 MB / 2.84 GB, free: 234.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01155/10.67, allocations: 6.952 MB / 2.847 GB, free: 232.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005383/10.67, allocations: 1.002 MB / 2.848 GB, free: 232.4 MB / 0.7794 GB Notification: Performance of SimCode: time 1.032e-06/10.67, allocations: 3.906 kB / 2.848 GB, free: 232.4 MB / 0.7794 GB Notification: Performance of Templates: time 1.518/12.19, allocations: 0.7622 GB / 3.61 GB, free: 63.08 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)