Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 105.2 kB / 16.41 MB, free: 6.41 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.00129/0.00129, allocations: 189.5 kB / 17.34 MB, free: 5.691 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8462/0.8462, allocations: 135.2 MB / 426.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.19 kB / 0.5863 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1824, allocations: 80.94 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6002/0.7826, allocations: 162 MB / 0.8236 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00358/0.7862, allocations: 1.768 MB / 0.8254 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.7866, allocations: 12.16 kB / 0.8254 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.7873, allocations: 168 kB / 0.8255 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.7888, allocations: 0.5449 MB / 0.8261 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.7901, allocations: 395.2 kB / 0.8264 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002894/0.7929, allocations: 2.519 MB / 0.8289 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.7941, allocations: 0.7964 MB / 0.8297 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.7961, allocations: 1.044 MB / 0.8307 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.7972, allocations: 0.7047 MB / 0.8314 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.7973, allocations: 56.16 kB / 0.8314 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.799, allocations: 0.7478 MB / 0.8322 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.7993, allocations: 311.3 kB / 0.8325 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008091/0.8002, allocations: 0.5447 MB / 0.833 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.8022, allocations: 1.413 MB / 0.8344 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.8022, allocations: 0 / 0.8344 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8022, allocations: 4 kB / 0.8344 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.8023, allocations: 0 / 0.8344 GB, free: 13.36 MB / 0.6075 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.002631/0.8049, allocations: 1.488 MB / 0.8358 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.8049, allocations: 9.078 kB / 0.8358 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008031/0.8057, allocations: 191.9 kB / 0.836 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.8071, allocations: 0.8576 MB / 0.8369 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.8072, allocations: 42.22 kB / 0.8369 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.8072, allocations: 59.5 kB / 0.837 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.8084, allocations: 0.7866 MB / 0.8377 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.8085, allocations: 6.062 kB / 0.8377 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.8085, allocations: 31.2 kB / 0.8378 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.8085, allocations: 12.75 kB / 0.8378 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.8094, allocations: 0.546 MB / 0.8383 GB, free: 10.58 MB / 0.6075 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.004811/0.8142, allocations: 4.596 MB / 0.8428 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.815, allocations: 400.4 kB / 0.8432 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.8154, allocations: 225.4 kB / 0.8434 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.8157, allocations: 202.3 kB / 0.8436 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004967/0.8162, allocations: 286.3 kB / 0.8439 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.8162, allocations: 0 / 0.8439 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001439/0.8176, allocations: 0.6438 MB / 0.8445 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.8177, allocations: 87.72 kB / 0.8446 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.8191, allocations: 1.115 MB / 0.8457 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.8191, allocations: 38.77 kB / 0.8457 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.8196, allocations: 489.4 kB / 0.8462 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.8197, allocations: 122.2 kB / 0.8463 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.8199, allocations: 107.3 kB / 0.8464 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.8201, allocations: 327.1 kB / 0.8467 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.8204, allocations: 215.3 kB / 0.8469 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.8211, allocations: 0.5268 MB / 0.8474 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.822, allocations: 0.6252 MB / 0.848 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.822, allocations: 2.688 kB / 0.848 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001259/0.8233, allocations: 0.7323 MB / 0.8487 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.8233, allocations: 38.62 kB / 0.8488 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8233, allocations: 5.375 kB / 0.8488 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.8233, allocations: 7.594 kB / 0.8488 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.8238, allocations: 106.9 kB / 0.8489 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.8238, allocations: 15.52 kB / 0.8489 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.8245, allocations: 84.03 kB / 0.849 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.8245, allocations: 32.39 kB / 0.849 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007209/0.8252, allocations: 0.4944 MB / 0.8495 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005839/0.8258, allocations: 491.4 kB / 0.85 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008482/0.8267, allocations: 0.5491 MB / 0.8505 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.8267, allocations: 4 kB / 0.8505 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001173/0.8278, allocations: 0.6464 MB / 0.8511 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.8279, allocations: 34.36 kB / 0.8512 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8279, allocations: 8 kB / 0.8512 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.8279, allocations: 12 kB / 0.8512 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.8283, allocations: 103.8 kB / 0.8513 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.8283, allocations: 11.94 kB / 0.8513 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.8289, allocations: 68.05 kB / 0.8514 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.829, allocations: 24 kB / 0.8514 GB, free: 15.64 MB / 0.6231 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.8292, allocations: 220.1 kB / 0.8516 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.8293, allocations: 107.3 kB / 0.8517 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.8304, allocations: 0.4926 MB / 0.8522 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.8304, allocations: 4 kB / 0.8522 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8304, allocations: 1.125 kB / 0.8522 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8304, allocations: 0 / 0.8522 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.8325, allocations: 1.383 MB / 0.8535 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.8325, allocations: 7.969 kB / 0.8535 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.8328, allocations: 67.89 kB / 0.8536 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.8328, allocations: 4.188 kB / 0.8536 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.8328, allocations: 4 kB / 0.8536 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.8328, allocations: 11.92 kB / 0.8536 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8328, allocations: 0.5625 kB / 0.8536 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.8337, allocations: 0.6028 MB / 0.8542 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.834, allocations: 220.3 kB / 0.8544 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.8341, allocations: 12 kB / 0.8544 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.8345, allocations: 23.97 kB / 0.8545 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.8346, allocations: 31.97 kB / 0.8545 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.8347, allocations: 8 kB / 0.8545 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001067/0.8357, allocations: 0.7914 MB / 0.8553 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8357, allocations: 0 / 0.8553 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001218/0.8369, allocations: 411.5 kB / 0.8557 GB, free: 11.11 MB / 0.6231 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004801/0.8374, allocations: 178.1 kB / 0.8558 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.8389, allocations: 0.7923 MB / 0.8566 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8389, allocations: 0 / 0.8566 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.8393, allocations: 185 kB / 0.8568 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.8413, allocations: 460.5 kB / 0.8572 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.8444, allocations: 1.802 MB / 0.859 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.8452, allocations: 1.18 MB / 0.8601 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.8454, allocations: 79.36 kB / 0.8602 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/0.8454, allocations: 0 / 0.8602 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.02606/0.8715, allocations: 16.06 MB / 0.8759 GB, free: 6.383 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)