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.00112/0.00112, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001052/0.001052, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.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.708/1.708, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005217/0.0005219, allocations: 15.16 kB / 0.6735 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2415, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6437/0.8853, allocations: 135.7 MB / 0.9196 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.8892, allocations: 3.09 MB / 0.9227 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.8897, allocations: 11.66 kB / 0.9227 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008871/0.8906, allocations: 179.7 kB / 0.9228 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.8928, allocations: 0.497 MB / 0.9233 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.8949, allocations: 453.6 kB / 0.9238 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.8972, allocations: 1.501 MB / 0.9252 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.8983, allocations: 0.7013 MB / 0.9259 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.8996, allocations: 0.7037 MB / 0.9266 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.9002, allocations: 493.9 kB / 0.9271 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.9002, allocations: 34.12 kB / 0.9271 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.9013, allocations: 412.4 kB / 0.9275 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.9016, allocations: 265 kB / 0.9277 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005106/0.9021, allocations: 226 kB / 0.928 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.9032, allocations: 0.9773 MB / 0.9289 GB, free: 21.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.9032, allocations: 0 / 0.9289 GB, free: 21.97 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9033, allocations: 4 kB / 0.9289 GB, free: 21.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.9033, allocations: 2.531 kB / 0.9289 GB, free: 21.97 MB / 0.7325 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.002116/0.9054, allocations: 1.281 MB / 0.9302 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.9054, allocations: 10.78 kB / 0.9302 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.9062, allocations: 186.7 kB / 0.9304 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.9077, allocations: 0.803 MB / 0.9311 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.9078, allocations: 42.25 kB / 0.9312 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.9078, allocations: 58.41 kB / 0.9312 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.9092, allocations: 0.7878 MB / 0.932 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.9092, allocations: 4.344 kB / 0.932 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.9093, allocations: 23.77 kB / 0.932 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.9093, allocations: 17.05 kB / 0.9321 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.9104, allocations: 0.541 MB / 0.9326 GB, free: 20.54 MB / 0.7325 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.004931/0.9153, allocations: 4.6 MB / 0.9371 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/0.9162, allocations: 438 kB / 0.9375 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.553e-05/0.9163, allocations: 20.86 kB / 0.9375 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005735/0.9169, allocations: 303.6 kB / 0.9378 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 3.015e-06/0.9169, allocations: 0 / 0.9378 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.005701/0.9226, allocations: 1.655 MB / 0.9394 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.9227, allocations: 106.8 kB / 0.9395 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.9245, allocations: 1.116 MB / 0.9406 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/0.9246, allocations: 37.2 kB / 0.9406 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.9249, allocations: 493 kB / 0.9411 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.925, allocations: 109.7 kB / 0.9412 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.9251, allocations: 8.219 kB / 0.9412 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9252, allocations: 327.3 kB / 0.9415 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.9255, allocations: 189.5 kB / 0.9417 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.926, allocations: 0.4907 MB / 0.9422 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.9264, allocations: 300.5 kB / 0.9425 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.9264, allocations: 2.156 kB / 0.9425 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002024/0.9285, allocations: 0.9819 MB / 0.9434 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006784/0.9292, allocations: 2.125 MB / 0.9455 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.9292, allocations: 7.734 kB / 0.9455 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.9304, allocations: 361.4 kB / 0.9459 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.9307, allocations: 66.94 kB / 0.9459 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.9321, allocations: 1.101 MB / 0.947 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.933, allocations: 105.5 kB / 0.9471 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.9331, allocations: 25.92 kB / 0.9471 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.9331, allocations: 4 kB / 0.9471 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001272/0.9344, allocations: 0.7319 MB / 0.9479 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9344, allocations: 11.17 kB / 0.9479 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.9349, allocations: 223.8 kB / 0.9481 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.9352, allocations: 59.66 kB / 0.9481 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.9386, allocations: 3.109 MB / 0.9512 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/0.9396, allocations: 98.34 kB / 0.9513 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.9396, allocations: 22.81 kB / 0.9513 GB, free: 10.9 MB / 0.7325 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007802/0.9404, allocations: 471.4 kB / 0.9517 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.9406, allocations: 110.2 kB / 0.9518 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.9417, allocations: 0.6856 MB / 0.9525 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.9418, allocations: 3.781 kB / 0.9525 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.9418, allocations: 5.219 kB / 0.9525 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.9418, allocations: 3.094 kB / 0.9525 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.9434, allocations: 1.098 MB / 0.9536 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9434, allocations: 2.062 kB / 0.9536 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.9436, allocations: 34.61 kB / 0.9536 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/0.9441, allocations: 244.9 kB / 0.9539 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.9441, allocations: 9.625 kB / 0.9539 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.9451, allocations: 1.029 MB / 0.9549 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9452, allocations: 5.281 kB / 0.9549 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.9463, allocations: 0.8625 MB / 0.9557 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.9468, allocations: 225.8 kB / 0.9559 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.9469, allocations: 14.23 kB / 0.956 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.9474, allocations: 53.75 kB / 0.956 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.9475, allocations: 30.88 kB / 0.956 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.9475, allocations: 8.25 kB / 0.956 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001077/0.9486, allocations: 0.7914 MB / 0.9568 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9486, allocations: 1.062 kB / 0.9568 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001394/0.95, allocations: 447.8 kB / 0.9572 GB, free: 8.879 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004202/0.9504, allocations: 181.4 kB / 0.9574 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00242/0.9529, allocations: 1.201 MB / 0.9586 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.9529, allocations: 5.25 kB / 0.9586 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.9534, allocations: 283.2 kB / 0.9589 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.9553, allocations: 459.6 kB / 0.9593 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.9578, allocations: 2.007 MB / 0.9613 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.9585, allocations: 1.2 MB / 0.9624 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008695/0.9594, allocations: 315.2 kB / 0.9627 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.9595, allocations: 62.28 kB / 0.9628 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.9595, allocations: 0 / 0.9628 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.02823/0.9877, allocations: 17.96 MB / 0.9803 GB, free: 14.98 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: