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.004825/0.004825, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001167/0.001167, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9193/0.9193, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4014, allocations: 80.92 MB / 0.6647 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1722/0.5736, allocations: 161.6 MB / 0.8225 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003097/0.5768, allocations: 1.76 MB / 0.8242 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.5772, allocations: 11.94 kB / 0.8242 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.5779, allocations: 162.9 kB / 0.8244 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.5794, allocations: 0.5519 MB / 0.8249 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.5806, allocations: 392.6 kB / 0.8253 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.5834, allocations: 2.537 MB / 0.8278 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.5846, allocations: 0.9333 MB / 0.8287 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.5862, allocations: 1.036 MB / 0.8297 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.5871, allocations: 0.7077 MB / 0.8304 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.5873, allocations: 56 kB / 0.8304 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.5889, allocations: 0.7484 MB / 0.8312 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/0.5893, allocations: 306.9 kB / 0.8315 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/0.5901, allocations: 0.5362 MB / 0.832 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.5921, allocations: 1.41 MB / 0.8334 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5921, allocations: 0 / 0.8334 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5921, allocations: 3.938 kB / 0.8334 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.408e-05/0.5922, allocations: 0 / 0.8334 GB, free: 4.422 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.003262/0.5955, allocations: 1.451 MB / 0.8348 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5955, allocations: 8.031 kB / 0.8348 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009526/0.5965, allocations: 186.5 kB / 0.835 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.598, allocations: 0.849 MB / 0.8358 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.5981, allocations: 45 kB / 0.8358 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.5982, allocations: 56 kB / 0.8359 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5996, allocations: 0.7926 MB / 0.8367 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5996, allocations: 7.938 kB / 0.8367 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.5996, allocations: 20 kB / 0.8367 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5997, allocations: 16 kB / 0.8367 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009984/0.6007, allocations: 0.5383 MB / 0.8372 GB, free: 272 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.004365/0.6051, allocations: 4.591 MB / 0.8417 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.6058, allocations: 414.8 kB / 0.8421 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.6062, allocations: 246.2 kB / 0.8423 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.6065, allocations: 194.2 kB / 0.8425 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.607, allocations: 301 kB / 0.8428 GB, free: 10.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.607, allocations: 0 / 0.8428 GB, free: 10.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001394/0.6084, allocations: 0.6314 MB / 0.8434 GB, free: 9.461 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.6085, allocations: 85.11 kB / 0.8435 GB, free: 9.359 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.6098, allocations: 1.118 MB / 0.8446 GB, free: 8.223 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.6098, allocations: 37.7 kB / 0.8446 GB, free: 8.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.6102, allocations: 496.1 kB / 0.8451 GB, free: 7.691 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.6103, allocations: 102.5 kB / 0.8452 GB, free: 7.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.6105, allocations: 121.9 kB / 0.8453 GB, free: 7.465 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6106, allocations: 322 kB / 0.8456 GB, free: 7.145 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.611, allocations: 214.4 kB / 0.8458 GB, free: 6.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/0.6116, allocations: 0.5175 MB / 0.8463 GB, free: 6.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.6125, allocations: 0.6317 MB / 0.847 GB, free: 5.566 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.6125, allocations: 4 kB / 0.847 GB, free: 5.562 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001178/0.6137, allocations: 0.7244 MB / 0.8477 GB, free: 4.824 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.6137, allocations: 41.7 kB / 0.8477 GB, free: 4.777 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6137, allocations: 4 kB / 0.8477 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.6138, allocations: 8 kB / 0.8477 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.6142, allocations: 107.8 kB / 0.8478 GB, free: 4.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.6142, allocations: 11.94 kB / 0.8478 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.6148, allocations: 79.73 kB / 0.8479 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.6149, allocations: 27.98 kB / 0.8479 GB, free: 4.543 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006369/0.6156, allocations: 0.4967 MB / 0.8484 GB, free: 4.039 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005472/0.6161, allocations: 489.9 kB / 0.8489 GB, free: 3.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007454/0.6169, allocations: 0.5567 MB / 0.8494 GB, free: 2.793 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.6169, allocations: 0 / 0.8494 GB, free: 2.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001023/0.6179, allocations: 0.6387 MB / 0.8501 GB, free: 2.141 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.6179, allocations: 37.73 kB / 0.8501 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.618, allocations: 7.984 kB / 0.8501 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.618, allocations: 8 kB / 0.8501 GB, free: 2.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.6183, allocations: 103.8 kB / 0.8502 GB, free: 1.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.6184, allocations: 11.94 kB / 0.8502 GB, free: 1.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/0.619, allocations: 72.03 kB / 0.8503 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.619, allocations: 31.94 kB / 0.8503 GB, free: 1.867 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.0001727/0.6192, allocations: 219.3 kB / 0.8505 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6193, allocations: 102.7 kB / 0.8506 GB, free: 1.547 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008854/0.6202, allocations: 487 kB / 0.8511 GB, free: 1.062 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6203, allocations: 4 kB / 0.8511 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6203, allocations: 0 / 0.8511 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.6203, allocations: 15.92 kB / 0.8511 GB, free: 1.043 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.6222, allocations: 1.379 MB / 0.8525 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6222, allocations: 4 kB / 0.8525 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.6225, allocations: 63.89 kB / 0.8525 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.6225, allocations: 4 kB / 0.8525 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.6225, allocations: 8 kB / 0.8525 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.6225, allocations: 4 kB / 0.8525 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6225, allocations: 4 kB / 0.8525 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.6233, allocations: 0.6063 MB / 0.8531 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.6236, allocations: 211.8 kB / 0.8533 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6238, allocations: 11.98 kB / 0.8533 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.6242, allocations: 23.92 kB / 0.8534 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.6243, allocations: 27.95 kB / 0.8534 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.6243, allocations: 8.141 kB / 0.8534 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009802/0.6253, allocations: 0.7953 MB / 0.8542 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6253, allocations: 4 kB / 0.8542 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001054/0.6264, allocations: 403.4 kB / 0.8546 GB, free: 13.36 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.0004017/0.6268, allocations: 185.9 kB / 0.8547 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.6282, allocations: 0.8114 MB / 0.8555 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6282, allocations: 4 kB / 0.8555 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.6285, allocations: 201.5 kB / 0.8557 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.6305, allocations: 460.3 kB / 0.8562 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.6333, allocations: 1.723 MB / 0.8579 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/0.634, allocations: 1.18 MB / 0.859 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001099/0.6351, allocations: 411.7 kB / 0.8594 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.6354, allocations: 79.36 kB / 0.8595 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.6354, allocations: 0 / 0.8595 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of Templates: time 0.3382/0.9736, allocations: 17.17 MB / 0.8762 GB, free: 188.2 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)