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.005349/0.005349, allocations: 101.7 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.001127/0.001127, allocations: 191.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.322/1.322, 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.7644/0.7644, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 73.58 kB / 0.5814 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 80.21 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5165/0.6646, allocations: 161.6 MB / 0.8175 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003123/0.6677, allocations: 1.754 MB / 0.8192 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/0.6682, allocations: 11.56 kB / 0.8192 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.6688, allocations: 172.9 kB / 0.8194 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.6704, allocations: 0.5423 MB / 0.8199 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.6716, allocations: 403.4 kB / 0.8203 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.6741, allocations: 2.533 MB / 0.8228 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.6753, allocations: 0.9361 MB / 0.8237 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.6772, allocations: 1.045 MB / 0.8247 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.6783, allocations: 0.7032 MB / 0.8254 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.6785, allocations: 55.72 kB / 0.8255 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.6802, allocations: 0.7429 MB / 0.8262 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.6805, allocations: 309.4 kB / 0.8265 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006943/0.6812, allocations: 0.5432 MB / 0.827 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.6828, allocations: 1.406 MB / 0.8284 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6828, allocations: 0 / 0.8284 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6828, allocations: 0 / 0.8284 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.6828, allocations: 2.25 kB / 0.8284 GB, free: 3.461 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.002199/0.685, allocations: 1.45 MB / 0.8298 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6851, allocations: 7.375 kB / 0.8298 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.6859, allocations: 185.8 kB / 0.83 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.6873, allocations: 0.8523 MB / 0.8308 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.6874, allocations: 42.16 kB / 0.8309 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.6875, allocations: 59.69 kB / 0.8309 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6888, allocations: 0.7892 MB / 0.8317 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.6888, allocations: 6.719 kB / 0.8317 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.6889, allocations: 22.88 kB / 0.8317 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.6889, allocations: 12.78 kB / 0.8317 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/0.6899, allocations: 0.5351 MB / 0.8322 GB, free: 0.75 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.004162/0.6941, allocations: 4.591 MB / 0.8367 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.6949, allocations: 412.9 kB / 0.8371 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.6953, allocations: 254 kB / 0.8374 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/0.6956, allocations: 199.7 kB / 0.8376 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005084/0.6962, allocations: 284 kB / 0.8378 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/0.6962, allocations: 0 / 0.8378 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001339/0.6975, allocations: 0.6373 MB / 0.8385 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.6976, allocations: 83.92 kB / 0.8385 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.6989, allocations: 1.119 MB / 0.8396 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.699, allocations: 34.11 kB / 0.8397 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.6994, allocations: 490.6 kB / 0.8401 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6995, allocations: 113.9 kB / 0.8402 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.6998, allocations: 110.1 kB / 0.8403 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.7, allocations: 331.6 kB / 0.8407 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.7004, allocations: 212.8 kB / 0.8409 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007666/0.7012, allocations: 0.5267 MB / 0.8414 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/0.7022, allocations: 0.6268 MB / 0.842 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7022, allocations: 2.562 kB / 0.842 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001358/0.7036, allocations: 0.7279 MB / 0.8427 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.7037, allocations: 35.89 kB / 0.8427 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.7037, allocations: 9.375 kB / 0.8427 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.7037, allocations: 6.844 kB / 0.8427 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.7041, allocations: 114.5 kB / 0.8429 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.7042, allocations: 14.16 kB / 0.8429 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.7048, allocations: 70.86 kB / 0.8429 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.7049, allocations: 35.98 kB / 0.843 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006834/0.7056, allocations: 0.4906 MB / 0.8435 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005545/0.7061, allocations: 492.9 kB / 0.8439 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007437/0.7069, allocations: 0.5457 MB / 0.8445 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.7069, allocations: 0 / 0.8445 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001077/0.708, allocations: 0.6487 MB / 0.8451 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.708, allocations: 37.58 kB / 0.8451 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7081, allocations: 8.344 kB / 0.8451 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.7081, allocations: 8.5 kB / 0.8451 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.7084, allocations: 109.9 kB / 0.8452 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.7085, allocations: 11.53 kB / 0.8453 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.7091, allocations: 58.28 kB / 0.8453 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.7091, allocations: 25.33 kB / 0.8453 GB, free: 6.512 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.0001931/0.7093, allocations: 229.1 kB / 0.8456 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.7095, allocations: 100.2 kB / 0.8457 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/0.7104, allocations: 0.4885 MB / 0.8461 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7104, allocations: 0 / 0.8461 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7104, allocations: 4.188 kB / 0.8461 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.7104, allocations: 0 / 0.8461 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.7123, allocations: 1.387 MB / 0.8475 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7123, allocations: 3.938 kB / 0.8475 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.7126, allocations: 68.11 kB / 0.8476 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7126, allocations: 4 kB / 0.8476 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.7126, allocations: 8 kB / 0.8476 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.7126, allocations: 3.938 kB / 0.8476 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7126, allocations: 4 kB / 0.8476 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.7135, allocations: 0.5983 MB / 0.8482 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.7138, allocations: 219.8 kB / 0.8484 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.7139, allocations: 8 kB / 0.8484 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.7143, allocations: 19.98 kB / 0.8484 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.7144, allocations: 31.95 kB / 0.8484 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.7144, allocations: 12 kB / 0.8484 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009722/0.7154, allocations: 0.7953 MB / 0.8492 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7154, allocations: 0 / 0.8492 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001125/0.7165, allocations: 403.4 kB / 0.8496 GB, free: 2.238 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.0004309/0.717, allocations: 185.1 kB / 0.8498 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.7183, allocations: 0.8203 MB / 0.8506 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7183, allocations: 0 / 0.8506 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.7187, allocations: 199.1 kB / 0.8508 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.7206, allocations: 453.1 kB / 0.8512 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.7231, allocations: 1.732 MB / 0.8529 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.7238, allocations: 1.18 MB / 0.854 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008941/0.7247, allocations: 415.6 kB / 0.8544 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.7248, allocations: 75.42 kB / 0.8545 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.7248, allocations: 0 / 0.8545 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of Templates: time 0.02646/0.7513, allocations: 17.18 MB / 0.8713 GB, free: 12.15 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)