Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008248/0.0008286, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009091/0.0009092, allocations: 177.3 kB / 15.95 MB, free: 216 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.198/1.198, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8453/0.8453, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.000303, allocations: 10.78 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 82.3 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.3603/0.5045, allocations: 135.7 MB / 0.7197 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.5071, allocations: 1.667 MB / 0.7213 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.5074, allocations: 8.25 kB / 0.7213 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.5079, allocations: 173 kB / 0.7215 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.5091, allocations: 0.5021 MB / 0.722 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.5102, allocations: 407.3 kB / 0.7224 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.5121, allocations: 1.494 MB / 0.7239 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.5131, allocations: 0.7081 MB / 0.7245 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.5143, allocations: 0.6919 MB / 0.7252 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.5152, allocations: 496.2 kB / 0.7257 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.391e-05/0.5153, allocations: 35.69 kB / 0.7257 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008746/0.5161, allocations: 418.7 kB / 0.7261 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.5164, allocations: 257.8 kB / 0.7264 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.5166, allocations: 230.8 kB / 0.7266 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.5178, allocations: 0.9753 MB / 0.7275 GB, free: 8.141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.5178, allocations: 0 / 0.7275 GB, free: 8.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5178, allocations: 0 / 0.7275 GB, free: 8.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.5178, allocations: 1.375 kB / 0.7275 GB, free: 8.141 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00203/0.5199, allocations: 1.278 MB / 0.7288 GB, free: 7.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5199, allocations: 8.25 kB / 0.7288 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.5206, allocations: 193.2 kB / 0.729 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.5221, allocations: 0.7908 MB / 0.7298 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.5222, allocations: 51.2 kB / 0.7298 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.5223, allocations: 56.84 kB / 0.7299 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5235, allocations: 0.7971 MB / 0.7306 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.5235, allocations: 2.938 kB / 0.7306 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.5236, allocations: 21.09 kB / 0.7307 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5236, allocations: 17.19 kB / 0.7307 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/0.5245, allocations: 0.5425 MB / 0.7312 GB, free: 6.117 MB / 0.545 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.004039/0.5286, allocations: 4.598 MB / 0.7357 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.5292, allocations: 440.8 kB / 0.7361 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/0.5293, allocations: 14.83 kB / 0.7361 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004113/0.5297, allocations: 302.6 kB / 0.7364 GB, free: 1.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.5297, allocations: 0 / 0.7364 GB, free: 1.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001231/0.531, allocations: 0.6516 MB / 0.7371 GB, free: 1.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.531, allocations: 105.5 kB / 0.7372 GB, free: 1.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.5323, allocations: 1.112 MB / 0.7382 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.5323, allocations: 37.7 kB / 0.7383 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.5327, allocations: 492.5 kB / 0.7387 GB, free: 456 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.5328, allocations: 105.7 kB / 0.7388 GB, free: 360 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.5328, allocations: 12 kB / 0.7389 GB, free: 348 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5329, allocations: 331.8 kB / 0.7392 GB, free: 16 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.5332, allocations: 179.6 kB / 0.7393 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.5337, allocations: 0.4941 MB / 0.7398 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.5342, allocations: 299.2 kB / 0.7401 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5342, allocations: 4 kB / 0.7401 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009635/0.5351, allocations: 0.6747 MB / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006684/0.5358, allocations: 2.131 MB / 0.7429 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5358, allocations: 8.641 kB / 0.7429 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5359, allocations: 11.95 kB / 0.7429 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.5376, allocations: 384.4 kB / 0.7432 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.5405, allocations: 6.093 MB / 0.7492 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/0.5413, allocations: 103.5 kB / 0.7493 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.5413, allocations: 28.73 kB / 0.7493 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.5413, allocations: 4 kB / 0.7493 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008078/0.5422, allocations: 0.5415 MB / 0.7499 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5422, allocations: 8 kB / 0.7499 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.5422, allocations: 12.58 kB / 0.7499 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.5427, allocations: 159.8 kB / 0.75 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5427, allocations: 11.94 kB / 0.75 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/0.5434, allocations: 104.3 kB / 0.7501 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.5435, allocations: 20 kB / 0.7502 GB, free: 4.605 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007972/0.5443, allocations: 472.7 kB / 0.7506 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.5444, allocations: 102.8 kB / 0.7507 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008493/0.5453, allocations: 477.7 kB / 0.7512 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5453, allocations: 4 kB / 0.7512 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.5453, allocations: 11.92 kB / 0.7512 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5453, allocations: 0 / 0.7512 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.5468, allocations: 1.102 MB / 0.7523 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5468, allocations: 1.625 kB / 0.7523 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.5474, allocations: 151.7 kB / 0.7524 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.5474, allocations: 4 kB / 0.7524 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.5475, allocations: 11.98 kB / 0.7524 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.5502, allocations: 6.025 MB / 0.7583 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5502, allocations: 4.031 kB / 0.7583 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007898/0.551, allocations: 0.633 MB / 0.7589 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.5514, allocations: 219.8 kB / 0.7591 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.5515, allocations: 16.62 kB / 0.7591 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.552, allocations: 51.86 kB / 0.7592 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.5521, allocations: 27.95 kB / 0.7592 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.5521, allocations: 8 kB / 0.7592 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009232/0.553, allocations: 0.7914 MB / 0.76 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.553, allocations: 0 / 0.76 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001075/0.5541, allocations: 411.4 kB / 0.7604 GB, free: 9.688 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003507/0.5545, allocations: 194.4 kB / 0.7606 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002733/0.5572, allocations: 1.103 MB / 0.7617 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5572, allocations: 0 / 0.7617 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.558, allocations: 304 kB / 0.7619 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.5597, allocations: 452.9 kB / 0.7624 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.5622, allocations: 2.011 MB / 0.7643 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.5629, allocations: 1.2 MB / 0.7655 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008423/0.5638, allocations: 375.5 kB / 0.7659 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5639, allocations: 63.44 kB / 0.7659 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5639, allocations: 4 kB / 0.7659 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of Templates: time 0.02436/0.5883, allocations: 16.73 MB / 0.7823 GB, free: 3.383 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: