Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006397/0.006397, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001303/0.001303, allocations: 183.7 kB / 16.67 MB, free: 5.523 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8128/0.8128, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.73 kB / 0.5814 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1611, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5007/0.6618, allocations: 161.6 MB / 0.8175 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.6651, allocations: 1.765 MB / 0.8192 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.6656, allocations: 11.22 kB / 0.8192 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.6663, allocations: 167.1 kB / 0.8194 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.6678, allocations: 0.5428 MB / 0.8199 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.6689, allocations: 396.5 kB / 0.8203 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.6714, allocations: 2.526 MB / 0.8228 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.6727, allocations: 0.9359 MB / 0.8237 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.6745, allocations: 1.043 MB / 0.8247 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.6756, allocations: 0.7076 MB / 0.8254 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.6758, allocations: 55.22 kB / 0.8255 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.6773, allocations: 0.7436 MB / 0.8262 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.6777, allocations: 304.7 kB / 0.8265 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007957/0.6785, allocations: 0.5452 MB / 0.827 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.6802, allocations: 1.402 MB / 0.8284 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6802, allocations: 0 / 0.8284 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6802, allocations: 3.938 kB / 0.8284 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.306e-05/0.6802, allocations: 3.938 kB / 0.8284 GB, free: 3.387 MB / 0.5919 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.002385/0.6826, allocations: 1.446 MB / 0.8298 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.6827, allocations: 7.438 kB / 0.8298 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007752/0.6834, allocations: 188.4 kB / 0.83 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.6848, allocations: 0.8579 MB / 0.8308 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.6848, allocations: 45.16 kB / 0.8309 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/0.6849, allocations: 56.53 kB / 0.8309 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.686, allocations: 0.7935 MB / 0.8317 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.686, allocations: 5.938 kB / 0.8317 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.6861, allocations: 21.41 kB / 0.8317 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.6861, allocations: 15.06 kB / 0.8317 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008698/0.687, allocations: 0.5323 MB / 0.8322 GB, free: 0.668 MB / 0.5919 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.003972/0.691, allocations: 4.594 MB / 0.8367 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.6917, allocations: 415.5 kB / 0.8371 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.6921, allocations: 248.3 kB / 0.8374 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.6924, allocations: 191.8 kB / 0.8376 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/0.6928, allocations: 287.7 kB / 0.8378 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.6928, allocations: 2.438 kB / 0.8378 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001362/0.6942, allocations: 0.6344 MB / 0.8384 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.6943, allocations: 86.83 kB / 0.8385 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.6956, allocations: 1.11 MB / 0.8396 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.6957, allocations: 42.23 kB / 0.8397 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.6961, allocations: 496.4 kB / 0.8401 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.535e-05/0.6962, allocations: 103.8 kB / 0.8402 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.6963, allocations: 112.9 kB / 0.8403 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6965, allocations: 336.7 kB / 0.8407 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.6969, allocations: 214.8 kB / 0.8409 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.6975, allocations: 0.5175 MB / 0.8414 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.6983, allocations: 0.6224 MB / 0.842 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6983, allocations: 2.469 kB / 0.842 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001205/0.6995, allocations: 0.7302 MB / 0.8427 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.6996, allocations: 37.3 kB / 0.8427 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6996, allocations: 5.938 kB / 0.8427 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.6996, allocations: 11.84 kB / 0.8427 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.7, allocations: 106 kB / 0.8428 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.7, allocations: 14.34 kB / 0.8429 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.7007, allocations: 71.05 kB / 0.8429 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.7008, allocations: 32.03 kB / 0.843 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006684/0.7015, allocations: 0.5053 MB / 0.8434 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005729/0.702, allocations: 489.7 kB / 0.8439 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007738/0.7028, allocations: 0.5627 MB / 0.8445 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.571e-06/0.7028, allocations: 2.781 kB / 0.8445 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001091/0.7039, allocations: 0.6425 MB / 0.8451 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.704, allocations: 35.8 kB / 0.8451 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.704, allocations: 4.781 kB / 0.8451 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.704, allocations: 7.875 kB / 0.8451 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.7044, allocations: 107.2 kB / 0.8452 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7044, allocations: 16.11 kB / 0.8453 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/0.705, allocations: 64.91 kB / 0.8453 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.7051, allocations: 20.97 kB / 0.8453 GB, free: 6.43 MB / 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.0002054/0.7053, allocations: 212.7 kB / 0.8455 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.7055, allocations: 106.7 kB / 0.8456 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009242/0.7064, allocations: 0.4907 MB / 0.8461 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7064, allocations: 4 kB / 0.8461 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.7064, allocations: 0 / 0.8461 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7064, allocations: 3.984 kB / 0.8461 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.7085, allocations: 1.375 MB / 0.8475 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.7086, allocations: 11.92 kB / 0.8475 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.7088, allocations: 59.91 kB / 0.8475 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.7088, allocations: 8.203 kB / 0.8476 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.7088, allocations: 12 kB / 0.8476 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.7089, allocations: 7.938 kB / 0.8476 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7089, allocations: 4 kB / 0.8476 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.7097, allocations: 0.5983 MB / 0.8482 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.71, allocations: 211.8 kB / 0.8484 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.7101, allocations: 8 kB / 0.8484 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.7105, allocations: 23.97 kB / 0.8484 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.7106, allocations: 27.97 kB / 0.8484 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.7107, allocations: 11.98 kB / 0.8484 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001049/0.7117, allocations: 0.7914 MB / 0.8492 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7117, allocations: 0 / 0.8492 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001204/0.7129, allocations: 403.4 kB / 0.8496 GB, free: 2.164 MB / 0.6075 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.0004594/0.7134, allocations: 192.4 kB / 0.8498 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.7148, allocations: 0.8205 MB / 0.8506 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7148, allocations: 0 / 0.8506 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.7152, allocations: 207.1 kB / 0.8508 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.7169, allocations: 451.9 kB / 0.8512 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.7197, allocations: 1.728 MB / 0.8529 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.7204, allocations: 1.176 MB / 0.854 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009491/0.7214, allocations: 415.6 kB / 0.8544 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.7216, allocations: 75.44 kB / 0.8545 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.7216, allocations: 0 / 0.8545 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.02791/0.7495, allocations: 17.19 MB / 0.8713 GB, free: 12.07 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)