Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00481/0.00481, allocations: 104.7 kB / 15.74 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.001143/0.001143, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9197/0.9197, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3839, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.179/0.563, allocations: 161.6 MB / 0.8225 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.5666, allocations: 1.758 MB / 0.8242 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.5671, allocations: 15.88 kB / 0.8242 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006363/0.5677, allocations: 174.9 kB / 0.8244 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.5695, allocations: 0.5469 MB / 0.8249 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.5707, allocations: 389.8 kB / 0.8253 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.5737, allocations: 2.533 MB / 0.8277 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.5752, allocations: 0.9294 MB / 0.8287 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.5772, allocations: 1.039 MB / 0.8297 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.5785, allocations: 0.7 MB / 0.8304 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.5787, allocations: 59.98 kB / 0.8304 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.5805, allocations: 0.7445 MB / 0.8311 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.581, allocations: 310.9 kB / 0.8314 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.5822, allocations: 0.5363 MB / 0.832 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.5847, allocations: 1.408 MB / 0.8333 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5848, allocations: 4 kB / 0.8333 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5848, allocations: 0 / 0.8333 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.011e-05/0.5848, allocations: 0 / 0.8333 GB, free: 4.25 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.00353/0.5884, allocations: 1.455 MB / 0.8348 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.5884, allocations: 8.031 kB / 0.8348 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5895, allocations: 186.5 kB / 0.8349 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.5911, allocations: 0.8489 MB / 0.8358 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.5912, allocations: 41 kB / 0.8358 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5913, allocations: 64 kB / 0.8359 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5926, allocations: 0.7927 MB / 0.8366 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.5927, allocations: 3.938 kB / 0.8366 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.5927, allocations: 24 kB / 0.8367 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.5927, allocations: 12 kB / 0.8367 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.5938, allocations: 0.5383 MB / 0.8372 GB, free: 92 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.004159/0.598, allocations: 4.591 MB / 0.8417 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.5987, allocations: 414.9 kB / 0.8421 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.599, allocations: 254.2 kB / 0.8423 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.5993, allocations: 194.2 kB / 0.8425 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004568/0.5998, allocations: 293.1 kB / 0.8428 GB, free: 9.922 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.824e-06/0.5998, allocations: 0 / 0.8428 GB, free: 9.922 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001303/0.6011, allocations: 0.636 MB / 0.8434 GB, free: 9.281 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6012, allocations: 81.11 kB / 0.8435 GB, free: 9.184 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.6024, allocations: 1.121 MB / 0.8446 GB, free: 8.043 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.6025, allocations: 37.92 kB / 0.8446 GB, free: 8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.6029, allocations: 488.1 kB / 0.8451 GB, free: 7.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.603, allocations: 114.4 kB / 0.8452 GB, free: 7.406 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.6031, allocations: 117.9 kB / 0.8453 GB, free: 7.285 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6033, allocations: 322 kB / 0.8456 GB, free: 6.965 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.6036, allocations: 218.4 kB / 0.8458 GB, free: 6.746 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.6042, allocations: 0.5213 MB / 0.8463 GB, free: 6.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.6051, allocations: 0.6269 MB / 0.8469 GB, free: 5.383 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.6051, allocations: 0 / 0.8469 GB, free: 5.383 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001128/0.6063, allocations: 0.7244 MB / 0.8477 GB, free: 4.645 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.6063, allocations: 37.8 kB / 0.8477 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6063, allocations: 8 kB / 0.8477 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.6063, allocations: 8 kB / 0.8477 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.6081, allocations: 355.4 kB / 0.848 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/0.6115, allocations: 6.079 MB / 0.854 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.6121, allocations: 71.48 kB / 0.8541 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.6122, allocations: 27.94 kB / 0.8541 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006662/0.6128, allocations: 0.5005 MB / 0.8546 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005033/0.6133, allocations: 486 kB / 0.855 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007092/0.6141, allocations: 0.5645 MB / 0.8556 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.157e-06/0.6141, allocations: 4 kB / 0.8556 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009634/0.6151, allocations: 0.6428 MB / 0.8562 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.6151, allocations: 33.7 kB / 0.8562 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6151, allocations: 7.984 kB / 0.8563 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.6151, allocations: 8 kB / 0.8563 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.6157, allocations: 155.9 kB / 0.8564 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6157, allocations: 8 kB / 0.8564 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.6162, allocations: 64.12 kB / 0.8565 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.6163, allocations: 24 kB / 0.8565 GB, free: 11.11 MB / 0.6856 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.6165, allocations: 223.3 kB / 0.8567 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6166, allocations: 106.7 kB / 0.8568 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.6175, allocations: 498.9 kB / 0.8573 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6175, allocations: 4 kB / 0.8573 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6175, allocations: 0 / 0.8573 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.6175, allocations: 0 / 0.8573 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.6194, allocations: 1.379 MB / 0.8586 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6194, allocations: 0 / 0.8586 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.62, allocations: 147.8 kB / 0.8588 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.62, allocations: 8.094 kB / 0.8588 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.6201, allocations: 19.98 kB / 0.8588 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002915/0.623, allocations: 6.024 MB / 0.8647 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.623, allocations: 0 / 0.8647 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/0.6239, allocations: 0.5946 MB / 0.8653 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.6242, allocations: 223.7 kB / 0.8655 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.6243, allocations: 8 kB / 0.8655 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.6247, allocations: 19.92 kB / 0.8655 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.6248, allocations: 35.95 kB / 0.8655 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.6248, allocations: 8 kB / 0.8656 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009551/0.6258, allocations: 0.7914 MB / 0.8663 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6258, allocations: 0 / 0.8663 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001103/0.6269, allocations: 403.4 kB / 0.8667 GB, free: 264 kB / 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004368/0.6273, allocations: 174.4 kB / 0.8669 GB, free: 88 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.326/0.9534, allocations: 1.08 MB / 0.8679 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.9534, allocations: 0 / 0.8679 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008484/0.9543, allocations: 296.9 kB / 0.8682 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.9564, allocations: 463.9 kB / 0.8687 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.9596, allocations: 1.783 MB / 0.8704 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/0.9605, allocations: 1.175 MB / 0.8715 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009005/0.9614, allocations: 368.3 kB / 0.8719 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.9616, allocations: 69.75 kB / 0.872 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of SimCode: time 8.81e-07/0.9616, allocations: 0 / 0.872 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.0303/0.9919, allocations: 18.13 MB / 0.8897 GB, free: 183.9 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)