Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 86.64 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.001022/0.001023, 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.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9933/0.9933, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003682, allocations: 8.625 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1642, allocations: 82.32 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 1.023/1.187, allocations: 328.7 MB / 0.9083 GB, free: 56.02 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.08937/1.276, allocations: 68.55 MB / 0.9753 GB, free: 54.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02238/1.299, allocations: 370.2 kB / 0.9756 GB, free: 54.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0155/1.314, allocations: 3.141 MB / 0.9787 GB, free: 53.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02962/1.344, allocations: 8.887 MB / 0.9874 GB, free: 49.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01876/1.363, allocations: 6.042 MB / 0.9933 GB, free: 46.17 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03581/1.399, allocations: 32.78 MB / 1.025 GB, free: 23.43 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02035/1.419, allocations: 13.13 MB / 1.038 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0249/1.444, allocations: 10.19 MB / 1.048 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02/1.464, allocations: 9.117 MB / 1.057 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.004891/1.469, allocations: 0.5026 MB / 1.057 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/1.485, allocations: 2.854 MB / 1.06 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.006528/1.491, allocations: 2.914 MB / 1.063 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009132/1.5, allocations: 2.692 MB / 1.066 GB, free: 0 / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02354/1.524, allocations: 14.59 MB / 1.08 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.524, allocations: 0 / 1.08 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.615e-06/1.524, allocations: 0 / 1.08 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000825/1.525, allocations: 0 / 1.08 GB, free: 2.043 MB / 0.7012 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.03382/1.559, allocations: 13.93 MB / 1.094 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.559, allocations: 8.031 kB / 1.094 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/1.568, allocations: 2.237 MB / 1.096 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02664/1.595, allocations: 11.15 MB / 1.107 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001622/1.597, allocations: 0.7834 MB / 1.107 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002477/1.599, allocations: 0.6871 MB / 1.108 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02286/1.622, allocations: 8.951 MB / 1.117 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002757/1.622, allocations: 15.81 kB / 1.117 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/1.624, allocations: 253.9 kB / 1.117 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/1.624, allocations: 152 kB / 1.117 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/1.642, allocations: 7.432 MB / 1.124 GB, free: 4.434 MB / 0.7481 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.8891/2.531, allocations: 50.52 MB / 1.174 GB, free: 105.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009485/2.541, allocations: 5.53 MB / 1.179 GB, free: 105.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007213/2.548, allocations: 3.995 MB / 1.183 GB, free: 105.7 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.03325/2.581, allocations: 13.48 MB / 1.196 GB, free: 102.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007049/2.588, allocations: 3.734 MB / 1.2 GB, free: 102.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01041/2.599, allocations: 1.861 MB / 1.202 GB, free: 102.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=320): time 2.684e-05/2.599, allocations: 0 / 1.202 GB, free: 102.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=506): time 0.1588/2.758, allocations: 53.63 MB / 1.254 GB, free: 88.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/2.758, allocations: 108.5 kB / 1.254 GB, free: 88.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02115/2.779, allocations: 12.7 MB / 1.267 GB, free: 80.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.002417/2.782, allocations: 164.3 kB / 1.267 GB, free: 80.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.007278/2.789, allocations: 6.19 MB / 1.273 GB, free: 77.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/2.791, allocations: 1.706 MB / 1.274 GB, free: 76.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/2.792, allocations: 147 kB / 1.275 GB, free: 76.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003908/2.793, allocations: 0.5924 MB / 1.275 GB, free: 75.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01008/2.803, allocations: 5.149 MB / 1.28 GB, free: 72.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/2.815, allocations: 7.813 MB / 1.288 GB, free: 64.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/2.827, allocations: 5.866 MB / 1.294 GB, free: 60.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.946e-05/2.827, allocations: 23.61 kB / 1.294 GB, free: 60.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04076/2.867, allocations: 17.21 MB / 1.31 GB, free: 48.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009848/2.869, allocations: 1.941 MB / 1.312 GB, free: 45.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.962e-05/2.869, allocations: 61.31 kB / 1.312 GB, free: 45.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01332/2.882, allocations: 4.656 MB / 1.317 GB, free: 41.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/2.892, allocations: 2.033 MB / 1.319 GB, free: 39.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/2.903, allocations: 10.91 MB / 1.33 GB, free: 30.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/2.917, allocations: 1.22 MB / 1.331 GB, free: 29.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002873/2.92, allocations: 468 kB / 1.331 GB, free: 28.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/2.92, allocations: 8 kB / 1.331 GB, free: 28.98 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0323/2.952, allocations: 16.1 MB / 1.347 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/2.953, allocations: 60 kB / 1.347 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/2.964, allocations: 4.384 MB / 1.351 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009239/2.973, allocations: 2.022 MB / 1.353 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/2.995, allocations: 15.05 MB / 1.368 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/3.008, allocations: 1.213 MB / 1.369 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/3.01, allocations: 439.8 kB / 1.37 GB, free: 6.051 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (748): * Single equations (assignments): 735 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.007556/3.017, allocations: 3.122 MB / 1.373 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003441/3.021, allocations: 1.207 MB / 1.374 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03598/3.057, allocations: 14.97 MB / 1.388 GB, free: 2.871 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.973e-05/3.057, allocations: 67.94 kB / 1.388 GB, free: 2.805 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/3.057, allocations: 0 / 1.388 GB, free: 2.805 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02789/3.085, allocations: 12.29 MB / 1.4 GB, free: 6.527 MB / 0.8263 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.05556/3.14, allocations: 26.39 MB / 1.426 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/3.14, allocations: 7.953 kB / 1.426 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006294/3.147, allocations: 1.245 MB / 1.427 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009536/3.156, allocations: 3.27 MB / 1.431 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008119/3.157, allocations: 171.9 kB / 1.431 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009517/3.167, allocations: 9.581 MB / 1.44 GB, free: 13.8 MB / 0.8732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/3.167, allocations: 6.344 kB / 1.44 GB, free: 13.8 MB / 0.8732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04141/3.208, allocations: 20.23 MB / 1.46 GB, free: 9.395 MB / 0.8888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007379/3.215, allocations: 2.335 MB / 1.462 GB, free: 7.023 MB / 0.8888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003039/3.219, allocations: 115.9 kB / 1.462 GB, free: 6.91 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/3.229, allocations: 1.033 MB / 1.463 GB, free: 5.875 MB / 0.8888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008593/3.23, allocations: 387.5 kB / 1.464 GB, free: 5.496 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005842/3.23, allocations: 243.8 kB / 1.464 GB, free: 5.258 MB / 0.8888 GB Notification: Performance of sorting global known variables: time 0.01441/3.245, allocations: 8.577 MB / 1.472 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.71e-07/3.245, allocations: 0 / 1.472 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0277/3.272, allocations: 5.456 MB / 1.478 GB, free: 7.359 MB / 0.9044 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 (441): * Single equations (assignments): 420 * 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: 3 * 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: 0 * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/3.276, allocations: 1.259 MB / 1.479 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.3526/3.628, allocations: 19.94 MB / 1.498 GB, free: 412 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/3.628, allocations: 3.156 kB / 1.498 GB, free: 412 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0111/3.639, allocations: 5.7 MB / 1.504 GB, free: 410.4 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0269/3.666, allocations: 5.961 MB / 1.51 GB, free: 409.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04915/3.715, allocations: 28.3 MB / 1.537 GB, free: 396.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/3.728, allocations: 6.87 MB / 1.544 GB, free: 394.6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.01853/3.746, allocations: 3.839 MB / 1.548 GB, free: 393.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004884/3.751, allocations: 0.9061 MB / 1.549 GB, free: 393.8 MB / 0.9044 GB Notification: Performance of SimCode: time 1.543e-06/3.751, allocations: 0 / 1.549 GB, free: 393.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.3285/4.08, allocations: 248 MB / 1.791 GB, free: 167.2 MB / 0.9044 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)