Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001357/0.001357, allocations: 103.2 kB / 16.93 MB, free: 5.773 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.001193/0.001194, allocations: 187.3 kB / 17.87 MB, free: 5.164 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.34/1.34, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7675/0.7675, allocations: 122.8 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.91 kB / 0.4917 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4064, allocations: 77.91 MB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1759/0.5824, allocations: 161.6 MB / 0.7256 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.586, allocations: 1.759 MB / 0.7274 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005235/0.5866, allocations: 15.88 kB / 0.7274 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006931/0.5874, allocations: 158.9 kB / 0.7275 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.589, allocations: 0.5289 MB / 0.728 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.5903, allocations: 388.2 kB / 0.7284 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002894/0.5932, allocations: 2.524 MB / 0.7309 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.5946, allocations: 0.9216 MB / 0.7318 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.5967, allocations: 1.024 MB / 0.7328 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.598, allocations: 0.7117 MB / 0.7335 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.5983, allocations: 56 kB / 0.7335 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.6002, allocations: 0.7367 MB / 0.7342 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004662/0.6007, allocations: 306.9 kB / 0.7345 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.6018, allocations: 0.544 MB / 0.7351 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.604, allocations: 1.378 MB / 0.7364 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.604, allocations: 0 / 0.7364 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.604, allocations: 0 / 0.7364 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.375e-05/0.6041, allocations: 4 kB / 0.7364 GB, free: 13.64 MB / 0.5762 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.002718/0.6068, allocations: 1.451 MB / 0.7378 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6068, allocations: 12.62 kB / 0.7379 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.6077, allocations: 190.5 kB / 0.738 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6091, allocations: 0.7982 MB / 0.7388 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.6092, allocations: 45 kB / 0.7389 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.6093, allocations: 56 kB / 0.7389 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.6105, allocations: 0.7966 MB / 0.7397 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.6106, allocations: 4 kB / 0.7397 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.6106, allocations: 20 kB / 0.7397 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.6106, allocations: 16 kB / 0.7397 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.6116, allocations: 0.5383 MB / 0.7403 GB, free: 9.523 MB / 0.5762 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.004521/0.6161, allocations: 4.606 MB / 0.7447 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.6169, allocations: 418.3 kB / 0.7451 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.6173, allocations: 245.6 kB / 0.7454 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.6176, allocations: 194.2 kB / 0.7456 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/0.6181, allocations: 289 kB / 0.7458 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.6181, allocations: 0 / 0.7458 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001388/0.6195, allocations: 0.6303 MB / 0.7465 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.6196, allocations: 85.05 kB / 0.7465 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.621, allocations: 1.114 MB / 0.7476 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.6211, allocations: 33.7 kB / 0.7477 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.6216, allocations: 0.4884 MB / 0.7481 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.6217, allocations: 110.5 kB / 0.7482 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.6218, allocations: 109.9 kB / 0.7483 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.622, allocations: 329.9 kB / 0.7487 GB, free: 400 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.6224, allocations: 210.4 kB / 0.7489 GB, free: 188 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.302/0.9244, allocations: 0.5205 MB / 0.7494 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.9256, allocations: 0.6367 MB / 0.75 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.9256, allocations: 2.25 kB / 0.75 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001555/0.9271, allocations: 0.7137 MB / 0.7507 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.9272, allocations: 41.55 kB / 0.7507 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.9272, allocations: 6.594 kB / 0.7507 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/0.9273, allocations: 8.109 kB / 0.7507 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.9292, allocations: 355.3 kB / 0.7511 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.9318, allocations: 6.085 MB / 0.757 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/0.9327, allocations: 69.61 kB / 0.7571 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.9328, allocations: 25.44 kB / 0.7571 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000878/0.9337, allocations: 0.4942 MB / 0.7576 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005499/0.9342, allocations: 493.6 kB / 0.7581 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007856/0.935, allocations: 0.5566 MB / 0.7586 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.99e-06/0.935, allocations: 4.703 kB / 0.7586 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001319/0.9364, allocations: 0.6554 MB / 0.7593 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.9364, allocations: 34.3 kB / 0.7593 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9364, allocations: 5.953 kB / 0.7593 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.9364, allocations: 11.75 kB / 0.7593 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.937, allocations: 151 kB / 0.7595 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.937, allocations: 13.73 kB / 0.7595 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.9377, allocations: 67 kB / 0.7595 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.9377, allocations: 25.14 kB / 0.7596 GB, free: 164 MB / 0.5762 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.0001864/0.9379, allocations: 227.2 kB / 0.7598 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.9381, allocations: 99.33 kB / 0.7599 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.9392, allocations: 496.4 kB / 0.7603 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9392, allocations: 3.688 kB / 0.7603 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.9392, allocations: 1.062 kB / 0.7603 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9392, allocations: 4 kB / 0.7603 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.9414, allocations: 1.382 MB / 0.7617 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9414, allocations: 3.062 kB / 0.7617 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.942, allocations: 144.1 kB / 0.7618 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.9421, allocations: 5.125 kB / 0.7618 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.9421, allocations: 12.17 kB / 0.7619 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.9439, allocations: 6.024 MB / 0.7677 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.9439, allocations: 5.344 kB / 0.7677 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.9449, allocations: 0.6041 MB / 0.7683 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.9452, allocations: 211.1 kB / 0.7685 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.9453, allocations: 8.828 kB / 0.7685 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.9457, allocations: 20.61 kB / 0.7686 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.9458, allocations: 32.8 kB / 0.7686 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.9458, allocations: 14.95 kB / 0.7686 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001169/0.947, allocations: 0.7891 MB / 0.7694 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.947, allocations: 2.938 kB / 0.7694 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001286/0.9483, allocations: 408.1 kB / 0.7698 GB, free: 156.1 MB / 0.5762 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.0004187/0.9487, allocations: 178.6 kB / 0.7699 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.952, allocations: 1.129 MB / 0.771 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.952, allocations: 0 / 0.771 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.9528, allocations: 287.2 kB / 0.7713 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.9549, allocations: 456.2 kB / 0.7717 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.9578, allocations: 1.864 MB / 0.7736 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.9584, allocations: 1.18 MB / 0.7747 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.9586, allocations: 67.8 kB / 0.7748 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.9586, allocations: 0 / 0.7748 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.05086/1.009, allocations: 64.25 MB / 0.8375 GB, free: 96.02 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)