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.007148/0.007148, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.001415/0.001415, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9149/0.9149, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3845, allocations: 80.91 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1725/0.557, allocations: 161.6 MB / 0.8225 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.5601, allocations: 1.757 MB / 0.8242 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.5607, allocations: 19.81 kB / 0.8242 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.5615, allocations: 162.9 kB / 0.8244 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.5632, allocations: 0.5211 MB / 0.8249 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.5644, allocations: 393.3 kB / 0.8253 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.5674, allocations: 2.529 MB / 0.8277 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.5688, allocations: 0.9333 MB / 0.8286 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.5708, allocations: 1.024 MB / 0.8296 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.5721, allocations: 0.7078 MB / 0.8303 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.5723, allocations: 56 kB / 0.8304 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.5741, allocations: 0.7445 MB / 0.8311 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.5745, allocations: 310.9 kB / 0.8314 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007636/0.5753, allocations: 0.5324 MB / 0.8319 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.5771, allocations: 1.42 MB / 0.8333 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5772, allocations: 0 / 0.8333 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.925e-06/0.5772, allocations: 3.938 kB / 0.8333 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.5772, allocations: 0 / 0.8333 GB, free: 4.344 MB / 0.6544 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.002329/0.5795, allocations: 1.485 MB / 0.8348 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5796, allocations: 8.031 kB / 0.8348 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007713/0.5803, allocations: 187.1 kB / 0.835 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.5816, allocations: 0.8617 MB / 0.8358 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.5817, allocations: 45 kB / 0.8358 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5818, allocations: 63.94 kB / 0.8359 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.583, allocations: 0.7924 MB / 0.8367 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.5831, allocations: 3.938 kB / 0.8367 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.5831, allocations: 24 kB / 0.8367 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5831, allocations: 12 kB / 0.8367 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009136/0.5841, allocations: 0.5383 MB / 0.8372 GB, free: 144 kB / 0.6544 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.003968/0.588, allocations: 4.591 MB / 0.8417 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.5888, allocations: 418.8 kB / 0.8421 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.5892, allocations: 246.2 kB / 0.8424 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.5895, allocations: 206.2 kB / 0.8426 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004685/0.5899, allocations: 289.1 kB / 0.8428 GB, free: 9.969 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.59, allocations: 0 / 0.8428 GB, free: 9.969 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001336/0.5913, allocations: 0.6398 MB / 0.8435 GB, free: 9.324 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.5914, allocations: 81.11 kB / 0.8435 GB, free: 9.227 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.5927, allocations: 1.121 MB / 0.8446 GB, free: 8.086 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.5927, allocations: 37.7 kB / 0.8447 GB, free: 8.043 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.5931, allocations: 488.8 kB / 0.8451 GB, free: 7.562 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.5932, allocations: 119 kB / 0.8452 GB, free: 7.445 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.5934, allocations: 122.1 kB / 0.8454 GB, free: 7.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5935, allocations: 318 kB / 0.8457 GB, free: 7.004 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.5939, allocations: 222.4 kB / 0.8459 GB, free: 6.781 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.5945, allocations: 0.5252 MB / 0.8464 GB, free: 6.121 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/0.5954, allocations: 0.6275 MB / 0.847 GB, free: 5.414 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5954, allocations: 0 / 0.847 GB, free: 5.414 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001167/0.5966, allocations: 0.7247 MB / 0.8477 GB, free: 4.676 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.5967, allocations: 33.7 kB / 0.8477 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5967, allocations: 8.656 kB / 0.8477 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.5967, allocations: 8 kB / 0.8478 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.5972, allocations: 115.8 kB / 0.8479 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.5972, allocations: 8 kB / 0.8479 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.5978, allocations: 79.52 kB / 0.8479 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.5978, allocations: 24 kB / 0.848 GB, free: 4.398 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006664/0.5985, allocations: 0.5044 MB / 0.8485 GB, free: 3.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005434/0.5991, allocations: 489.9 kB / 0.8489 GB, free: 3.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007528/0.5998, allocations: 0.5566 MB / 0.8495 GB, free: 2.641 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.5998, allocations: 0 / 0.8495 GB, free: 2.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001027/0.6009, allocations: 0.6504 MB / 0.8501 GB, free: 1.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.6009, allocations: 37.69 kB / 0.8501 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.6009, allocations: 4 kB / 0.8502 GB, free: 1.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.601, allocations: 8 kB / 0.8502 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.6013, allocations: 108.4 kB / 0.8503 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.6013, allocations: 8 kB / 0.8503 GB, free: 1.809 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.6019, allocations: 64.11 kB / 0.8503 GB, free: 1.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.602, allocations: 27.92 kB / 0.8504 GB, free: 1.719 MB / 0.67 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.0001766/0.6021, allocations: 216.1 kB / 0.8506 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6023, allocations: 103.3 kB / 0.8507 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000903/0.6032, allocations: 0.4911 MB / 0.8511 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6032, allocations: 4 kB / 0.8511 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6032, allocations: 0 / 0.8511 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6032, allocations: 7.938 kB / 0.8512 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.6051, allocations: 1.383 MB / 0.8525 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6051, allocations: 4 kB / 0.8525 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.6055, allocations: 63.89 kB / 0.8526 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.6055, allocations: 4 kB / 0.8526 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.6055, allocations: 12.22 kB / 0.8526 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.6055, allocations: 4 kB / 0.8526 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6055, allocations: 7.938 kB / 0.8526 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.6063, allocations: 0.5988 MB / 0.8532 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.6066, allocations: 220.4 kB / 0.8534 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6067, allocations: 8 kB / 0.8534 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.6071, allocations: 20.17 kB / 0.8534 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/0.6071, allocations: 39.89 kB / 0.8535 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.6072, allocations: 11.98 kB / 0.8535 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009129/0.6081, allocations: 0.7953 MB / 0.8542 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6081, allocations: 0 / 0.8542 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001078/0.6092, allocations: 411.5 kB / 0.8546 GB, free: 13.18 MB / 0.6856 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.0004208/0.6096, allocations: 171.6 kB / 0.8548 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.611, allocations: 0.82 MB / 0.8556 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.611, allocations: 4.062 kB / 0.8556 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.6114, allocations: 199.7 kB / 0.8558 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.6133, allocations: 462.6 kB / 0.8562 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.6161, allocations: 1.749 MB / 0.8579 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.6168, allocations: 1.18 MB / 0.8591 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009236/0.6178, allocations: 407.7 kB / 0.8595 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.618, allocations: 75.42 kB / 0.8596 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.618, allocations: 4 kB / 0.8596 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of Templates: time 0.3554/0.9733, allocations: 17.17 MB / 0.8763 GB, free: 187.9 MB / 0.6856 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)