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.0009054/0.0009054, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009159/0.0009158, allocations: 172.7 kB / 15.95 MB, free: 208 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.255/1.255, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.647/1.647, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004776/0.0004776, allocations: 20.59 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.567/0.7743, allocations: 146.7 MB / 0.9306 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.7784, allocations: 3.36 MB / 0.9339 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.7787, allocations: 8.031 kB / 0.9339 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.7793, allocations: 110.8 kB / 0.934 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.7812, allocations: 391.4 kB / 0.9343 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.783, allocations: 371.8 kB / 0.9347 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004046/0.7871, allocations: 2.991 MB / 0.9376 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009503/0.788, allocations: 0.6943 MB / 0.9383 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.7898, allocations: 0.8721 MB / 0.9392 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009439/0.7907, allocations: 0.7125 MB / 0.9398 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-05/0.7908, allocations: 34.62 kB / 0.9399 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.7922, allocations: 0.5535 MB / 0.9404 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002794/0.7924, allocations: 282.2 kB / 0.9407 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005301/0.793, allocations: 231.1 kB / 0.9409 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.7942, allocations: 1.023 MB / 0.9419 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7942, allocations: 0.5312 kB / 0.9419 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7942, allocations: 0 / 0.9419 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.7942, allocations: 0.5312 kB / 0.9419 GB, free: 21.21 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.002264/0.7965, allocations: 1.298 MB / 0.9432 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.7965, allocations: 16.3 kB / 0.9432 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008202/0.7974, allocations: 196.7 kB / 0.9434 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.7986, allocations: 0.7986 MB / 0.9442 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.7987, allocations: 40.91 kB / 0.9442 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.7988, allocations: 59.12 kB / 0.9443 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.7999, allocations: 0.7923 MB / 0.945 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.7999, allocations: 9.406 kB / 0.945 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.8, allocations: 22.56 kB / 0.9451 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.8, allocations: 12.94 kB / 0.9451 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.8009, allocations: 0.5381 MB / 0.9456 GB, free: 19.72 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.003955/0.8049, allocations: 4.61 MB / 0.9501 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/0.8056, allocations: 421.6 kB / 0.9505 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.806, allocations: 259.8 kB / 0.9508 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.8063, allocations: 197.2 kB / 0.9509 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/0.8068, allocations: 301.6 kB / 0.9512 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.8068, allocations: 0 / 0.9512 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.004426/0.8112, allocations: 1.665 MB / 0.9529 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.8113, allocations: 87.08 kB / 0.9529 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.8126, allocations: 1.114 MB / 0.954 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.8126, allocations: 37.45 kB / 0.9541 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.813, allocations: 489.5 kB / 0.9545 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.8131, allocations: 110 kB / 0.9546 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.8131, allocations: 8 kB / 0.9546 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8132, allocations: 331.2 kB / 0.955 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.8136, allocations: 181.9 kB / 0.9551 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.8141, allocations: 0.4958 MB / 0.9556 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.8145, allocations: 299 kB / 0.9559 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8145, allocations: 1.031 kB / 0.9559 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001842/0.8163, allocations: 0.9872 MB / 0.9569 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.8165, allocations: 272.5 kB / 0.9571 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.8165, allocations: 5.062 kB / 0.9571 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.8177, allocations: 368.6 kB / 0.9575 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.8179, allocations: 68.89 kB / 0.9575 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.8192, allocations: 1.091 MB / 0.9586 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.82, allocations: 104 kB / 0.9587 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.8201, allocations: 24.89 kB / 0.9587 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.8201, allocations: 4.219 kB / 0.9587 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/0.8214, allocations: 0.7399 MB / 0.9595 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8214, allocations: 5.875 kB / 0.9595 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/0.8219, allocations: 227.3 kB / 0.9597 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.8221, allocations: 57.73 kB / 0.9597 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/0.8255, allocations: 3.044 MB / 0.9627 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.8263, allocations: 96.05 kB / 0.9628 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.8263, allocations: 20.72 kB / 0.9628 GB, free: 11.64 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.0006118/0.827, allocations: 473.9 kB / 0.9633 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.8271, allocations: 106.3 kB / 0.9634 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.8283, allocations: 0.7088 MB / 0.9641 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.8283, allocations: 3.281 kB / 0.9641 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.8284, allocations: 192 / 0.9641 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.8284, allocations: 2.531 kB / 0.9641 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.8306, allocations: 1.62 MB / 0.9657 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8307, allocations: 224 / 0.9657 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.8308, allocations: 32.86 kB / 0.9657 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.8312, allocations: 251.7 kB / 0.9659 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.8312, allocations: 9.469 kB / 0.9659 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008736/0.8321, allocations: 1.022 MB / 0.9669 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.8321, allocations: 3.438 kB / 0.9669 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.8331, allocations: 0.8409 MB / 0.9678 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.8335, allocations: 224.7 kB / 0.968 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.8337, allocations: 13.03 kB / 0.968 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/0.8343, allocations: 56.97 kB / 0.968 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.8344, allocations: 29.05 kB / 0.9681 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.8344, allocations: 18.84 kB / 0.9681 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001057/0.8355, allocations: 0.7843 MB / 0.9689 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8355, allocations: 0 / 0.9689 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001524/0.837, allocations: 452.9 kB / 0.9693 GB, free: 9.516 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.0004182/0.8374, allocations: 188.1 kB / 0.9695 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.8396, allocations: 1.2 MB / 0.9706 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8396, allocations: 0 / 0.9706 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.8401, allocations: 285 kB / 0.9709 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.842, allocations: 457.8 kB / 0.9713 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.8448, allocations: 1.995 MB / 0.9733 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.8456, allocations: 1.183 MB / 0.9744 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009387/0.8466, allocations: 313.9 kB / 0.9747 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.8467, allocations: 63.3 kB / 0.9748 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8467, allocations: 0 / 0.9748 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.02879/0.8755, allocations: 17.97 MB / 0.9924 GB, free: 13.79 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: