Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001141/0.001141, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001183/0.001183, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 57.19 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.6037/0.7679, allocations: 161.6 MB / 0.8182 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.7712, allocations: 1.748 MB / 0.8199 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.7717, allocations: 14.69 kB / 0.8199 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.7723, allocations: 166.6 kB / 0.82 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.7739, allocations: 0.5251 MB / 0.8206 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.7753, allocations: 391.8 kB / 0.8209 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002734/0.778, allocations: 2.525 MB / 0.8234 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.7793, allocations: 0.93 MB / 0.8243 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.7813, allocations: 1.031 MB / 0.8253 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.7823, allocations: 0.7178 MB / 0.826 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.7824, allocations: 55.62 kB / 0.8261 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.784, allocations: 0.7361 MB / 0.8268 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.7844, allocations: 307.8 kB / 0.8271 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006911/0.7851, allocations: 0.5381 MB / 0.8276 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.7869, allocations: 1.411 MB / 0.829 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.787, allocations: 0 / 0.829 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.364e-06/0.787, allocations: 0 / 0.829 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.787, allocations: 0 / 0.829 GB, free: 3.438 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.002306/0.7893, allocations: 1.451 MB / 0.8304 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7894, allocations: 10.09 kB / 0.8304 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008101/0.7902, allocations: 182.1 kB / 0.8306 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.7914, allocations: 0.8528 MB / 0.8314 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.7914, allocations: 49.75 kB / 0.8315 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/0.7915, allocations: 62.56 kB / 0.8315 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.7926, allocations: 0.7887 MB / 0.8323 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.7927, allocations: 6.969 kB / 0.8323 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.7927, allocations: 24.84 kB / 0.8323 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.7928, allocations: 15.34 kB / 0.8323 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008303/0.7936, allocations: 0.5242 MB / 0.8328 GB, free: 0.7227 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.003999/0.7976, allocations: 4.595 MB / 0.8373 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.7983, allocations: 415.2 kB / 0.8377 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.7987, allocations: 247.5 kB / 0.838 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.799, allocations: 191.4 kB / 0.8381 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004827/0.7995, allocations: 298.2 kB / 0.8384 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.083e-06/0.7995, allocations: 0 / 0.8384 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.0014/0.8009, allocations: 0.6346 MB / 0.839 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.801, allocations: 82.08 kB / 0.8391 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.8023, allocations: 1.114 MB / 0.8402 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.8024, allocations: 39.33 kB / 0.8403 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.8028, allocations: 492 kB / 0.8407 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.8029, allocations: 111.9 kB / 0.8408 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.8031, allocations: 110.8 kB / 0.8409 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8032, allocations: 330.9 kB / 0.8412 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.8036, allocations: 213.7 kB / 0.8415 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.8042, allocations: 0.5301 MB / 0.842 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008568/0.805, allocations: 0.6282 MB / 0.8426 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/0.8051, allocations: 2.094 kB / 0.8426 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001218/0.8063, allocations: 0.7293 MB / 0.8433 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.8064, allocations: 37.12 kB / 0.8433 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8064, allocations: 4.625 kB / 0.8433 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.8064, allocations: 7.688 kB / 0.8433 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.8081, allocations: 352.6 kB / 0.8437 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.8116, allocations: 6.078 MB / 0.8496 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009329/0.8125, allocations: 71.27 kB / 0.8497 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.8126, allocations: 23.91 kB / 0.8497 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008681/0.8135, allocations: 0.5024 MB / 0.8502 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000545/0.8141, allocations: 494.5 kB / 0.8507 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007711/0.8149, allocations: 0.5591 MB / 0.8512 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.364e-06/0.8149, allocations: 6.844 kB / 0.8512 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00117/0.8161, allocations: 0.6422 MB / 0.8518 GB, free: 424 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.8161, allocations: 37.59 kB / 0.8519 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.8161, allocations: 7.438 kB / 0.8519 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.8161, allocations: 5.094 kB / 0.8519 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.8167, allocations: 149.2 kB / 0.852 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.8167, allocations: 11.94 kB / 0.8521 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.8175, allocations: 72.02 kB / 0.8521 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.8176, allocations: 24 kB / 0.8521 GB, free: 172 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): 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.0002685/0.8178, allocations: 221.7 kB / 0.8524 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.8181, allocations: 98.78 kB / 0.8524 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.8192, allocations: 491 kB / 0.8529 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.8192, allocations: 7.938 kB / 0.8529 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.8192, allocations: 4 kB / 0.8529 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.8192, allocations: 0 / 0.8529 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.8216, allocations: 1.387 MB / 0.8543 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.8216, allocations: 4 kB / 0.8543 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.8222, allocations: 151.8 kB / 0.8544 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.8222, allocations: 4 kB / 0.8544 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.8223, allocations: 11.94 kB / 0.8544 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.8253, allocations: 6.021 MB / 0.8603 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.8253, allocations: 3.938 kB / 0.8603 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.8263, allocations: 0.5947 MB / 0.8609 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.8267, allocations: 215.9 kB / 0.8611 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.8269, allocations: 8 kB / 0.8611 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.8274, allocations: 19.97 kB / 0.8611 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.8275, allocations: 39.84 kB / 0.8612 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.8276, allocations: 11.94 kB / 0.8612 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00119/0.8288, allocations: 0.7914 MB / 0.862 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8288, allocations: 0 / 0.862 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001736/0.8305, allocations: 411.4 kB / 0.8624 GB, free: 5.316 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): 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.0006116/0.8311, allocations: 185.6 kB / 0.8625 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003373/0.8345, allocations: 1.089 MB / 0.8636 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.8345, allocations: 0 / 0.8636 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.8353, allocations: 277 kB / 0.8639 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.8375, allocations: 452.6 kB / 0.8643 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.8409, allocations: 1.841 MB / 0.8661 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008337/0.8417, allocations: 1.18 MB / 0.8672 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.8419, allocations: 67.44 kB / 0.8673 GB, free: 160 kB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.8419, allocations: 0 / 0.8673 GB, free: 160 kB / 0.6231 GB Notification: Performance of Templates: time 0.06384/0.9058, allocations: 64.36 MB / 0.9302 GB, free: 15.83 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)