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.0008347/0.0008347, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005911/0.005911, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.399/1.399, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.98/0.98, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 12.23 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 0.9879/1.17, allocations: 348.1 MB / 0.9279 GB, free: 49.48 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09931/1.269, allocations: 72.27 MB / 0.9985 GB, free: 39.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01634/1.285, allocations: 380.6 kB / 0.9989 GB, free: 39.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01279/1.298, allocations: 3.857 MB / 1.003 GB, free: 37.05 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03538/1.333, allocations: 10.27 MB / 1.013 GB, free: 30.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01919/1.353, allocations: 7.161 MB / 1.02 GB, free: 26.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04465/1.397, allocations: 38.31 MB / 1.057 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02229/1.42, allocations: 14.07 MB / 1.071 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02851/1.448, allocations: 10.67 MB / 1.081 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02036/1.469, allocations: 9.479 MB / 1.091 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004821/1.474, allocations: 500 kB / 1.091 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01528/1.489, allocations: 3.635 MB / 1.095 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.008345/1.497, allocations: 2.965 MB / 1.097 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01783/1.515, allocations: 6.669 MB / 1.104 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03547/1.551, allocations: 18.39 MB / 1.122 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.551, allocations: 0 / 1.122 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.266e-06/1.551, allocations: 0 / 1.122 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000824/1.551, allocations: 4 kB / 1.122 GB, free: 7.965 MB / 0.7481 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.03574/1.587, allocations: 13.77 MB / 1.135 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 7.219e-05/1.587, allocations: 8.031 kB / 1.135 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/1.598, allocations: 2.231 MB / 1.138 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02874/1.627, allocations: 11.65 MB / 1.149 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00178/1.628, allocations: 0.7755 MB / 1.15 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002792/1.631, allocations: 0.6836 MB / 1.15 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/1.655, allocations: 9 MB / 1.159 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/1.655, allocations: 11.88 kB / 1.159 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/1.656, allocations: 260 kB / 1.159 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/1.657, allocations: 148 kB / 1.16 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5671/2.224, allocations: 7.467 MB / 1.167 GB, free: 303.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 removeSimpleEquations (simulation): time 0.06408/2.288, allocations: 50.51 MB / 1.216 GB, free: 269.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/2.299, allocations: 5.551 MB / 1.222 GB, free: 267 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007922/2.307, allocations: 3.963 MB / 1.225 GB, free: 265.8 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.03768/2.345, allocations: 13.44 MB / 1.239 GB, free: 259.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007567/2.352, allocations: 3.739 MB / 1.242 GB, free: 257.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009792/2.362, allocations: 1.863 MB / 1.244 GB, free: 256.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=320): time 2.38e-05/2.362, allocations: 2.969 kB / 1.244 GB, free: 256.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=506): time 0.1772/2.539, allocations: 54.08 MB / 1.297 GB, free: 214.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/2.54, allocations: 110.1 kB / 1.297 GB, free: 214.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01819/2.558, allocations: 12.79 MB / 1.309 GB, free: 201.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001557/2.559, allocations: 161.7 kB / 1.31 GB, free: 201.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.005422/2.565, allocations: 6.152 MB / 1.316 GB, free: 195.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002323/2.567, allocations: 1.713 MB / 1.317 GB, free: 193.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/2.569, allocations: 0.6743 MB / 1.318 GB, free: 192.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/2.569, allocations: 305.1 kB / 1.318 GB, free: 192.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01145/2.581, allocations: 5.861 MB / 1.324 GB, free: 186.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01276/2.593, allocations: 8.449 MB / 1.332 GB, free: 177.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02397/2.617, allocations: 13.66 MB / 1.346 GB, free: 162.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.968e-05/2.617, allocations: 20 kB / 1.346 GB, free: 162.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04286/2.66, allocations: 18.76 MB / 1.364 GB, free: 143.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000816/2.661, allocations: 1.928 MB / 1.366 GB, free: 141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.86e-05/2.661, allocations: 60 kB / 1.366 GB, free: 141 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/2.676, allocations: 4.796 MB / 1.37 GB, free: 136.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01068/2.687, allocations: 2.04 MB / 1.372 GB, free: 134.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/2.697, allocations: 10.92 MB / 1.383 GB, free: 123 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/2.711, allocations: 1.21 MB / 1.384 GB, free: 121.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/2.713, allocations: 463.8 kB / 1.385 GB, free: 121.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/2.713, allocations: 4 kB / 1.385 GB, free: 121.3 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03312/2.746, allocations: 16.18 MB / 1.401 GB, free: 105.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/2.746, allocations: 64.25 kB / 1.401 GB, free: 105 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/2.757, allocations: 4.372 MB / 1.405 GB, free: 100.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009586/2.767, allocations: 2.02 MB / 1.407 GB, free: 98.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/2.787, allocations: 15.44 MB / 1.422 GB, free: 82.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.8, allocations: 1.196 MB / 1.423 GB, free: 81.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/2.802, allocations: 439 kB / 1.424 GB, free: 81.23 MB / 0.7794 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,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 (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.005817/2.807, allocations: 3.115 MB / 1.427 GB, free: 78.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002473/2.81, allocations: 1.207 MB / 1.428 GB, free: 76.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03131/2.841, allocations: 15 MB / 1.442 GB, free: 61.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/2.841, allocations: 63.94 kB / 1.442 GB, free: 61.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/2.841, allocations: 4 kB / 1.442 GB, free: 61.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02518/2.867, allocations: 12.33 MB / 1.455 GB, free: 49.28 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.04725/2.914, allocations: 26.43 MB / 1.48 GB, free: 22.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/2.914, allocations: 7.938 kB / 1.48 GB, free: 22.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006376/2.92, allocations: 1.237 MB / 1.482 GB, free: 21.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009775/2.93, allocations: 3.295 MB / 1.485 GB, free: 18.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001345/2.931, allocations: 171.9 kB / 1.485 GB, free: 17.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008262/2.94, allocations: 9.604 MB / 1.494 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/2.94, allocations: 8 kB / 1.494 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3596/3.299, allocations: 20.29 MB / 1.514 GB, free: 282.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006687/3.306, allocations: 2.336 MB / 1.516 GB, free: 282.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00346/3.31, allocations: 106.2 kB / 1.517 GB, free: 282.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/3.321, allocations: 1.04 MB / 1.518 GB, free: 282.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/3.322, allocations: 382.6 kB / 1.518 GB, free: 282.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001008/3.323, allocations: 244.8 kB / 1.518 GB, free: 282.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01681/3.34, allocations: 8.666 MB / 1.527 GB, free: 279.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.91e-07/3.34, allocations: 0 / 1.527 GB, free: 279.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.03379/3.374, allocations: 5.431 MB / 1.532 GB, free: 278.9 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 (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * 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): 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): 0 systems * 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.004069/3.378, allocations: 1.305 MB / 1.533 GB, free: 278.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.05117/3.429, allocations: 20.69 MB / 1.553 GB, free: 272.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/3.429, allocations: 3.406 kB / 1.553 GB, free: 272.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01405/3.443, allocations: 5.719 MB / 1.559 GB, free: 270.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04761/3.491, allocations: 5.941 MB / 1.565 GB, free: 269.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04721/3.538, allocations: 29.56 MB / 1.594 GB, free: 251.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009925/3.548, allocations: 6.871 MB / 1.6 GB, free: 246.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.01909/3.567, allocations: 3.835 MB / 1.604 GB, free: 243.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004161/3.572, allocations: 0.9053 MB / 1.605 GB, free: 242.3 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/3.572, allocations: 0 / 1.605 GB, free: 242.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.6685/4.24, allocations: 254.5 MB / 1.854 GB, free: 261.6 MB / 0.7794 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)