Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 113.6 kB / 16.37 MB, free: 6 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.001322/0.001322, allocations: 191.9 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 68.12 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.64/0.8898, allocations: 161.6 MB / 0.9426 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.8951, allocations: 3.608 MB / 0.9461 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.8955, allocations: 19.81 kB / 0.9462 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006797/0.8963, allocations: 158.9 kB / 0.9463 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.8979, allocations: 0.5289 MB / 0.9468 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.8992, allocations: 441 kB / 0.9472 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002727/0.9019, allocations: 2.547 MB / 0.9497 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.9031, allocations: 0.9247 MB / 0.9506 GB, free: 216 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.9049, allocations: 1.039 MB / 0.9517 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008066/0.9058, allocations: 0.7039 MB / 0.9523 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-05/0.9059, allocations: 52 kB / 0.9524 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.9075, allocations: 0.7445 MB / 0.9531 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.9078, allocations: 306.9 kB / 0.9534 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000658/0.9085, allocations: 0.5401 MB / 0.9539 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.9102, allocations: 1.406 MB / 0.9553 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.9102, allocations: 0 / 0.9553 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.826e-06/0.9102, allocations: 4 kB / 0.9553 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.9102, allocations: 4 kB / 0.9553 GB, free: 11.41 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002269/0.9125, allocations: 1.448 MB / 0.9567 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.9126, allocations: 13.34 kB / 0.9567 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/0.9133, allocations: 198.3 kB / 0.9569 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.9146, allocations: 0.853 MB / 0.9578 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.9147, allocations: 41 kB / 0.9578 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.9148, allocations: 56 kB / 0.9579 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.916, allocations: 0.7927 MB / 0.9586 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.916, allocations: 7.938 kB / 0.9586 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.9161, allocations: 20 kB / 0.9587 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.9161, allocations: 16 kB / 0.9587 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008764/0.917, allocations: 0.5344 MB / 0.9592 GB, free: 7.238 MB / 0.7481 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.003966/0.921, allocations: 4.591 MB / 0.9637 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.9216, allocations: 410.8 kB / 0.9641 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.922, allocations: 245.2 kB / 0.9643 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.9223, allocations: 194.2 kB / 0.9645 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/0.9228, allocations: 299.1 kB / 0.9648 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.9228, allocations: 0 / 0.9648 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.004812/0.9276, allocations: 1.649 MB / 0.9664 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.9277, allocations: 81.11 kB / 0.9665 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.929, allocations: 1.123 MB / 0.9676 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.9291, allocations: 37.7 kB / 0.9676 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.9295, allocations: 484.3 kB / 0.9681 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.9296, allocations: 114.4 kB / 0.9682 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.9298, allocations: 114 kB / 0.9683 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9299, allocations: 322 kB / 0.9686 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.9303, allocations: 214.4 kB / 0.9688 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.9309, allocations: 0.5135 MB / 0.9693 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.9317, allocations: 0.635 MB / 0.9699 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.9318, allocations: 4 kB / 0.9699 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002117/0.9339, allocations: 1.038 MB / 0.9709 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.9339, allocations: 35.11 kB / 0.971 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.934, allocations: 4 kB / 0.971 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.9352, allocations: 386.1 kB / 0.9713 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.9354, allocations: 63.91 kB / 0.9714 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.9367, allocations: 1.083 MB / 0.9724 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.9374, allocations: 75.42 kB / 0.9725 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.9375, allocations: 27.94 kB / 0.9725 GB, free: 8.828 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000717/0.9382, allocations: 0.4984 MB / 0.973 GB, free: 8.324 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005258/0.9387, allocations: 496.7 kB / 0.9735 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000705/0.9394, allocations: 0.5617 MB / 0.9741 GB, free: 7.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.484e-06/0.9394, allocations: 0 / 0.9741 GB, free: 7.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001388/0.9408, allocations: 0.8338 MB / 0.9749 GB, free: 6.219 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.9409, allocations: 33.7 kB / 0.9749 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9409, allocations: 7.984 kB / 0.9749 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.9414, allocations: 213.3 kB / 0.9751 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.9416, allocations: 63.84 kB / 0.9752 GB, free: 5.898 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.9451, allocations: 3.262 MB / 0.9784 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/0.9459, allocations: 68 kB / 0.9784 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.9459, allocations: 24 kB / 0.9784 GB, free: 2.402 MB / 0.7637 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.9461, allocations: 213.4 kB / 0.9787 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.9463, allocations: 98.78 kB / 0.9787 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.9476, allocations: 0.7118 MB / 0.9794 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.9476, allocations: 4 kB / 0.9794 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.9476, allocations: 4 kB / 0.9794 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9476, allocations: 0 / 0.9794 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.95, allocations: 1.595 MB / 0.981 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.95, allocations: 8.031 kB / 0.981 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.9501, allocations: 23.97 kB / 0.981 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.9506, allocations: 254.8 kB / 0.9813 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.9506, allocations: 11.94 kB / 0.9813 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009422/0.9516, allocations: 1.024 MB / 0.9823 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9516, allocations: 4 kB / 0.9823 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.9528, allocations: 0.8227 MB / 0.9831 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.9531, allocations: 219.8 kB / 0.9833 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.9532, allocations: 8 kB / 0.9833 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.9536, allocations: 23.97 kB / 0.9833 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.9537, allocations: 31.91 kB / 0.9834 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.9537, allocations: 9.781 kB / 0.9834 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009454/0.9547, allocations: 0.8032 MB / 0.9842 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.9547, allocations: 0 / 0.9842 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00122/0.9559, allocations: 435.4 kB / 0.9846 GB, free: 11.98 MB / 0.7794 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004765/0.9564, allocations: 168.5 kB / 0.9847 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.9588, allocations: 1.214 MB / 0.9859 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9588, allocations: 0 / 0.9859 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.9594, allocations: 289.8 kB / 0.9862 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.9612, allocations: 450.7 kB / 0.9866 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.9639, allocations: 1.832 MB / 0.9884 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.9646, allocations: 1.184 MB / 0.9896 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.9647, allocations: 59.44 kB / 0.9896 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of SimCode: time 8.21e-07/0.9647, allocations: 3.938 kB / 0.9896 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.02723/0.992, allocations: 20.46 MB / 1.01 GB, free: 2.371 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)