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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8732/0.8732, allocations: 134 MB / 438.5 MB, free: 13.73 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003029/0.003029, allocations: 67.91 kB / 0.6084 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3827, allocations: 84.67 MB / 0.691 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1958/0.5785, allocations: 162.3 MB / 0.8495 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003749/0.5823, allocations: 1.761 MB / 0.8512 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.5828, allocations: 7.938 kB / 0.8512 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008947/0.5837, allocations: 174.9 kB / 0.8514 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.5855, allocations: 0.551 MB / 0.8519 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.587, allocations: 400.9 kB / 0.8523 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003752/0.5907, allocations: 2.531 MB / 0.8548 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.5921, allocations: 0.6362 MB / 0.8554 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.5946, allocations: 1.039 MB / 0.8564 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.5961, allocations: 0.7506 MB / 0.8572 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.5964, allocations: 56 kB / 0.8572 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.5985, allocations: 0.7639 MB / 0.858 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006299/0.5992, allocations: 322.7 kB / 0.8583 GB, free: 10.22 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.6004, allocations: 0.5401 MB / 0.8588 GB, free: 9.676 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.6029, allocations: 1.409 MB / 0.8602 GB, free: 8.262 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6029, allocations: 0 / 0.8602 GB, free: 8.262 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6029, allocations: 0 / 0.8602 GB, free: 8.262 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.669e-05/0.603, allocations: 0 / 0.8602 GB, free: 8.262 MB / 0.67 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.6063, allocations: 1.494 MB / 0.8616 GB, free: 6.707 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6063, allocations: 8.031 kB / 0.8616 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/0.6073, allocations: 195.1 kB / 0.8618 GB, free: 6.508 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.6091, allocations: 0.8501 MB / 0.8627 GB, free: 5.602 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.6091, allocations: 45 kB / 0.8627 GB, free: 5.559 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6092, allocations: 63.94 kB / 0.8628 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.6107, allocations: 0.7926 MB / 0.8635 GB, free: 4.629 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.6107, allocations: 8 kB / 0.8635 GB, free: 4.621 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.6107, allocations: 20 kB / 0.8636 GB, free: 4.602 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.6108, allocations: 12 kB / 0.8636 GB, free: 4.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009724/0.6117, allocations: 0.5421 MB / 0.8641 GB, free: 4.043 MB / 0.67 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.4237/1.035, allocations: 4.59 MB / 0.8686 GB, free: 171.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/1.036, allocations: 391.1 kB / 0.869 GB, free: 171.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/1.037, allocations: 233.1 kB / 0.8692 GB, free: 171.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/1.037, allocations: 199.3 kB / 0.8694 GB, free: 171.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/1.038, allocations: 287.5 kB / 0.8696 GB, free: 171.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.993e-06/1.038, allocations: 0 / 0.8696 GB, free: 171.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001549/1.039, allocations: 0.6366 MB / 0.8703 GB, free: 171.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/1.039, allocations: 88.12 kB / 0.8703 GB, free: 171.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.041, allocations: 1.118 MB / 0.8714 GB, free: 170.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/1.041, allocations: 35.47 kB / 0.8715 GB, free: 170.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/1.041, allocations: 498.3 kB / 0.8719 GB, free: 170.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/1.041, allocations: 116.7 kB / 0.8721 GB, free: 170.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.041, allocations: 107.6 kB / 0.8722 GB, free: 170.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.507e-05/1.041, allocations: 327.3 kB / 0.8725 GB, free: 170.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/1.042, allocations: 213.2 kB / 0.8727 GB, free: 170 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/1.042, allocations: 0.515 MB / 0.8732 GB, free: 169.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/1.043, allocations: 0.6346 MB / 0.8738 GB, free: 169.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.043, allocations: 1.781 kB / 0.8738 GB, free: 169.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001315/1.045, allocations: 0.7293 MB / 0.8745 GB, free: 169 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/1.045, allocations: 35.08 kB / 0.8745 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.045, allocations: 8.344 kB / 0.8746 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.045, allocations: 7.812 kB / 0.8746 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/1.047, allocations: 351.9 kB / 0.8749 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/1.049, allocations: 6.085 MB / 0.8808 GB, free: 163 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/1.05, allocations: 76 kB / 0.8809 GB, free: 163 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/1.05, allocations: 29.06 kB / 0.8809 GB, free: 163 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009047/1.051, allocations: 0.4998 MB / 0.8814 GB, free: 162.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004753/1.051, allocations: 490.8 kB / 0.8819 GB, free: 162.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000684/1.052, allocations: 0.5541 MB / 0.8824 GB, free: 162 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.449e-06/1.052, allocations: 1.031 kB / 0.8824 GB, free: 162 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001331/1.053, allocations: 0.6501 MB / 0.8831 GB, free: 161.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.053, allocations: 37.89 kB / 0.8831 GB, free: 161.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.053, allocations: 5.531 kB / 0.8831 GB, free: 161.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.053, allocations: 8.812 kB / 0.8831 GB, free: 161.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/1.054, allocations: 151.2 kB / 0.8833 GB, free: 161.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/1.054, allocations: 11.56 kB / 0.8833 GB, free: 161.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/1.054, allocations: 65.03 kB / 0.8833 GB, free: 161.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/1.054, allocations: 26.56 kB / 0.8834 GB, free: 161.6 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): 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.0001953/1.055, allocations: 218.6 kB / 0.8836 GB, free: 161.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/1.055, allocations: 109.9 kB / 0.8837 GB, free: 161.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/1.056, allocations: 496.7 kB / 0.8842 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/1.056, allocations: 3.625 kB / 0.8842 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.056, allocations: 0.5938 kB / 0.8842 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.056, allocations: 5.062 kB / 0.8842 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/1.058, allocations: 1.386 MB / 0.8855 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.058, allocations: 2.281 kB / 0.8855 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/1.058, allocations: 145.9 kB / 0.8857 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.058, allocations: 3.281 kB / 0.8857 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/1.058, allocations: 8.031 kB / 0.8857 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/1.06, allocations: 6.028 MB / 0.8916 GB, free: 154.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.06, allocations: 7.672 kB / 0.8916 GB, free: 154.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000877/1.061, allocations: 0.6188 MB / 0.8922 GB, free: 153.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/1.061, allocations: 218.4 kB / 0.8924 GB, free: 153.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.061, allocations: 7.594 kB / 0.8924 GB, free: 153.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/1.062, allocations: 27.16 kB / 0.8924 GB, free: 153.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/1.062, allocations: 29.53 kB / 0.8924 GB, free: 153.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/1.062, allocations: 12.22 kB / 0.8924 GB, free: 153.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009556/1.063, allocations: 0.7897 MB / 0.8932 GB, free: 153 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.063, allocations: 4 kB / 0.8932 GB, free: 153 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001444/1.064, allocations: 406.5 kB / 0.8936 GB, free: 153 MB / 0.67 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.0004397/1.065, allocations: 180.2 kB / 0.8938 GB, free: 152.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002892/1.068, allocations: 1.062 MB / 0.8948 GB, free: 152.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.068, allocations: 0 / 0.8948 GB, free: 152.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/1.068, allocations: 287.5 kB / 0.8951 GB, free: 152.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.07, allocations: 451.3 kB / 0.8955 GB, free: 152 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/1.073, allocations: 1.823 MB / 0.8973 GB, free: 150.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/1.074, allocations: 1.184 MB / 0.8985 GB, free: 150 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000963/1.075, allocations: 368.9 kB / 0.8988 GB, free: 149.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/1.075, allocations: 65.61 kB / 0.8989 GB, free: 149.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.242e-06/1.075, allocations: 0 / 0.8989 GB, free: 149.8 MB / 0.67 GB Notification: Performance of Templates: time 0.02905/1.104, allocations: 18.46 MB / 0.9169 GB, free: 133.1 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.937670219689608]