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.001189/0.001189, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001239/0.001239, allocations: 187 kB / 17.34 MB, free: 5.742 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.831/0.831, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 67.06 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5541/0.7059, allocations: 161.6 MB / 0.8231 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.7091, allocations: 1.753 MB / 0.8249 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.7095, allocations: 15.88 kB / 0.8249 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.7101, allocations: 166.7 kB / 0.825 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.7115, allocations: 0.5159 MB / 0.8255 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.7126, allocations: 393.2 kB / 0.8259 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.7151, allocations: 2.523 MB / 0.8284 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.7162, allocations: 0.9324 MB / 0.8293 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.7179, allocations: 1.038 MB / 0.8303 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009737/0.7189, allocations: 0.714 MB / 0.831 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.719, allocations: 55.72 kB / 0.8311 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.7205, allocations: 0.7328 MB / 0.8318 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.7208, allocations: 305.4 kB / 0.8321 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006127/0.7215, allocations: 0.5482 MB / 0.8326 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.7232, allocations: 1.405 MB / 0.834 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.7232, allocations: 0 / 0.834 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7233, allocations: 0 / 0.834 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.7233, allocations: 0 / 0.834 GB, free: 13.74 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.002213/0.7255, allocations: 1.445 MB / 0.8354 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.7255, allocations: 11.17 kB / 0.8354 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.7263, allocations: 192.2 kB / 0.8356 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.7276, allocations: 0.8502 MB / 0.8364 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.7276, allocations: 50.52 kB / 0.8364 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.7277, allocations: 58.88 kB / 0.8365 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.7288, allocations: 0.7878 MB / 0.8373 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7289, allocations: 6.844 kB / 0.8373 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.7289, allocations: 21.75 kB / 0.8373 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.7289, allocations: 14.94 kB / 0.8373 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.7298, allocations: 0.5323 MB / 0.8378 GB, free: 11.02 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.003901/0.7337, allocations: 4.595 MB / 0.8423 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.7344, allocations: 408 kB / 0.8427 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.7348, allocations: 246.2 kB / 0.8429 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.7351, allocations: 195.8 kB / 0.8431 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.7356, allocations: 294.3 kB / 0.8434 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.305e-06/0.7356, allocations: 0 / 0.8434 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001347/0.737, allocations: 0.6389 MB / 0.844 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.737, allocations: 81.58 kB / 0.8441 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.7383, allocations: 1.113 MB / 0.8452 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.7383, allocations: 43.36 kB / 0.8452 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.7387, allocations: 494.3 kB / 0.8457 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.7388, allocations: 105.6 kB / 0.8458 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.739, allocations: 114.7 kB / 0.8459 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7391, allocations: 328.7 kB / 0.8462 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.7395, allocations: 208.2 kB / 0.8464 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.7401, allocations: 0.5306 MB / 0.847 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.7409, allocations: 0.626 MB / 0.8476 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7409, allocations: 2.406 kB / 0.8476 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001113/0.742, allocations: 0.7257 MB / 0.8483 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.7421, allocations: 32.8 kB / 0.8483 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.7421, allocations: 5.625 kB / 0.8483 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.7421, allocations: 7.406 kB / 0.8483 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.7425, allocations: 110.9 kB / 0.8484 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.7426, allocations: 8.375 kB / 0.8484 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.7432, allocations: 80.02 kB / 0.8485 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.7432, allocations: 25.25 kB / 0.8485 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006203/0.7438, allocations: 0.4942 MB / 0.849 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005223/0.7444, allocations: 492.4 kB / 0.8495 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006951/0.7451, allocations: 0.5646 MB / 0.85 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.7451, allocations: 4 kB / 0.85 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001016/0.7461, allocations: 0.6426 MB / 0.8507 GB, free: 356 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.7462, allocations: 33.7 kB / 0.8507 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7462, allocations: 8 kB / 0.8507 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.7462, allocations: 8 kB / 0.8507 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.7465, allocations: 99.88 kB / 0.8508 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7466, allocations: 15.92 kB / 0.8508 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.7471, allocations: 68.06 kB / 0.8509 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.7472, allocations: 24 kB / 0.8509 GB, free: 92 kB / 0.6075 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.0002041/0.7474, allocations: 228 kB / 0.8511 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.7475, allocations: 98.78 kB / 0.8512 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008672/0.7484, allocations: 497.7 kB / 0.8517 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.7484, allocations: 7.938 kB / 0.8517 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7484, allocations: 4 kB / 0.8517 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7484, allocations: 3.984 kB / 0.8517 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.7503, allocations: 1.372 MB / 0.8531 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.7503, allocations: 3.938 kB / 0.8531 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.7506, allocations: 67.89 kB / 0.8531 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7506, allocations: 4 kB / 0.8531 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.7506, allocations: 11.98 kB / 0.8531 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.7506, allocations: 4 kB / 0.8531 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7506, allocations: 0 / 0.8531 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.7514, allocations: 0.5978 MB / 0.8537 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.7517, allocations: 219.9 kB / 0.8539 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7518, allocations: 8 kB / 0.8539 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.7522, allocations: 19.97 kB / 0.854 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.7523, allocations: 39.89 kB / 0.854 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.7523, allocations: 8 kB / 0.854 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009534/0.7533, allocations: 0.7914 MB / 0.8548 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7533, allocations: 4 kB / 0.8548 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001101/0.7544, allocations: 407.4 kB / 0.8552 GB, free: 11.57 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.000418/0.7548, allocations: 177.8 kB / 0.8553 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.7561, allocations: 0.8267 MB / 0.8562 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7562, allocations: 1.562 kB / 0.8562 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.7565, allocations: 192.2 kB / 0.8563 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.7582, allocations: 453.2 kB / 0.8568 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.7609, allocations: 1.781 MB / 0.8585 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.7616, allocations: 1.18 MB / 0.8597 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.7618, allocations: 75.42 kB / 0.8597 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/0.7618, allocations: 0 / 0.8597 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of Templates: time 0.02489/0.7867, allocations: 16.1 MB / 0.8755 GB, free: 6.797 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)