Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 178.9 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007665/0.0007665, allocations: 88.11 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 11.73 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1912, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1505/0.3417, allocations: 159.1 MB / 1.052 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.3448, allocations: 1.77 MB / 1.054 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.3451, allocations: 7.938 kB / 1.054 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.3457, allocations: 147.2 kB / 1.054 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3469, allocations: 486.1 kB / 1.054 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3479, allocations: 384.2 kB / 1.055 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008652/0.3488, allocations: 0.7565 MB / 1.056 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.3491, allocations: 148.5 kB / 1.056 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.3497, allocations: 298.7 kB / 1.056 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.3499, allocations: 155.3 kB / 1.056 GB, free: 444 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.3499, allocations: 8 kB / 1.056 GB, free: 436 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4425/0.7924, allocations: 0.7669 MB / 1.057 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.7927, allocations: 73.91 kB / 1.057 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.7929, allocations: 111.1 kB / 1.057 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.7936, allocations: 341.7 kB / 1.057 GB, free: 2.648 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7936, allocations: 0 / 1.057 GB, free: 2.648 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.175e-06/0.7936, allocations: 0.5 kB / 1.057 GB, free: 2.648 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7936, allocations: 2.156 kB / 1.057 GB, free: 2.648 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00091/0.7946, allocations: 0.5456 MB / 1.058 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.7946, allocations: 7.594 kB / 1.058 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.795, allocations: 63.61 kB / 1.058 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.7954, allocations: 280.9 kB / 1.058 GB, free: 18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.7954, allocations: 12.12 kB / 1.058 GB, free: 18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.7954, allocations: 16.28 kB / 1.058 GB, free: 18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.7958, allocations: 196.2 kB / 1.058 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.7958, allocations: 0 / 1.058 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.7959, allocations: 8.781 kB / 1.058 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.7959, allocations: 6.562 kB / 1.058 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.7962, allocations: 139.9 kB / 1.059 GB, free: 17.94 MB / 0.7136 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.0009992/0.7972, allocations: 0.7828 MB / 1.059 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.7974, allocations: 88.12 kB / 1.059 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.7976, allocations: 83.06 kB / 1.059 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.7979, allocations: 197.6 kB / 1.06 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.798, allocations: 31.17 kB / 1.06 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.798, allocations: 1.859 kB / 1.06 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000675/0.7987, allocations: 236.4 kB / 1.06 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.7987, allocations: 54.8 kB / 1.06 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.799, allocations: 263.8 kB / 1.06 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.799, allocations: 33.89 kB / 1.06 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.7991, allocations: 150.6 kB / 1.06 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.7992, allocations: 34.14 kB / 1.06 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.7992, allocations: 16.55 kB / 1.06 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.7993, allocations: 330.3 kB / 1.061 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.7995, allocations: 45.62 kB / 1.061 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.7996, allocations: 101 kB / 1.061 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.7999, allocations: 132.2 kB / 1.061 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7999, allocations: 0 / 1.061 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000348/0.8003, allocations: 181 kB / 1.061 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.8003, allocations: 110.1 kB / 1.061 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8004, allocations: 0 / 1.061 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8004, allocations: 2.812 kB / 1.061 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.8005, allocations: 27.19 kB / 1.061 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.8005, allocations: 6.906 kB / 1.061 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.8007, allocations: 27.45 kB / 1.061 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.8008, allocations: 7.5 kB / 1.061 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.8008, allocations: 3.094 kB / 1.061 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002722/0.8011, allocations: 121.2 kB / 1.062 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.8011, allocations: 0 / 1.062 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/0.8011, allocations: 7.969 kB / 1.062 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.8012, allocations: 23.41 kB / 1.062 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.8012, allocations: 7.625 kB / 1.062 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.8014, allocations: 27.52 kB / 1.062 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.8014, allocations: 6.188 kB / 1.062 GB, free: 16.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.8015, allocations: 215.1 kB / 1.062 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.8016, allocations: 28.36 kB / 1.062 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.802, allocations: 172.7 kB / 1.062 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.802, allocations: 2.844 kB / 1.062 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.802, allocations: 2.531 kB / 1.062 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.802, allocations: 1.391 kB / 1.062 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.8029, allocations: 0.5987 MB / 1.063 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8029, allocations: 2.688 kB / 1.063 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.803, allocations: 32.58 kB / 1.063 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.803, allocations: 2.344 kB / 1.063 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.803, allocations: 6.234 kB / 1.063 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.803, allocations: 5.391 kB / 1.063 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.803, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.8034, allocations: 313.1 kB / 1.063 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.8035, allocations: 117 kB / 1.063 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.8036, allocations: 3.984 kB / 1.063 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.8038, allocations: 15.86 kB / 1.063 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.8038, allocations: 19.05 kB / 1.063 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.8039, allocations: 7.578 kB / 1.063 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001867/0.804, allocations: 195.4 kB / 1.063 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8041, allocations: 0 / 1.063 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004544/0.8045, allocations: 95.86 kB / 1.063 GB, free: 15.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004122/0.8049, allocations: 162.1 kB / 1.064 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.8054, allocations: 179 kB / 1.064 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8054, allocations: 2.844 kB / 1.064 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.8056, allocations: 71.55 kB / 1.064 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008541/0.8064, allocations: 123.5 kB / 1.064 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.8072, allocations: 0.5227 MB / 1.064 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.8075, allocations: 0.754 MB / 1.065 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.8075, allocations: 20.5 kB / 1.065 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8075, allocations: 2.469 kB / 1.065 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.007781/0.8153, allocations: 3.731 MB / 1.069 GB, free: 13.69 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)