Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.06/2.06, allocations: 251.1 MB / 266.7 MB, free: 11.53 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.001359/0.001359, allocations: 186.6 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009239/0.0009232, allocations: 89.97 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 14.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 106.2 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.445/6.667, allocations: 2.18 GB / 3.08 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/6.667, allocations: 91.34 kB / 3.08 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/7.985, allocations: 213.1 MB / 3.288 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/7.985, allocations: 0 / 3.288 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.274e-05/7.985, allocations: 4 kB / 3.288 GB, free: 160.2 MB / 0.8855 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.00126/7.987, allocations: 0.5958 MB / 3.288 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/7.987, allocations: 12.03 kB / 3.288 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000527/7.987, allocations: 60.52 kB / 3.289 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/7.988, allocations: 307 kB / 3.289 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/7.988, allocations: 12.38 kB / 3.289 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/7.988, allocations: 12.38 kB / 3.289 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/7.989, allocations: 192.6 kB / 3.289 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/7.989, allocations: 7.938 kB / 3.289 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/7.989, allocations: 8 kB / 3.289 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/7.989, allocations: 4 kB / 3.289 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/7.989, allocations: 123.9 kB / 3.289 GB, free: 158.7 MB / 0.8855 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.001443/7.991, allocations: 0.8011 MB / 3.29 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/7.991, allocations: 74.48 kB / 3.29 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/7.991, allocations: 76.86 kB / 3.29 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/7.992, allocations: 190.2 kB / 3.29 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/7.992, allocations: 30.56 kB / 3.29 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.915e-06/7.992, allocations: 0 / 3.29 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.001047/7.993, allocations: 229.2 kB / 3.291 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/7.993, allocations: 55.39 kB / 3.291 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/7.993, allocations: 267 kB / 3.291 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/7.993, allocations: 33.7 kB / 3.291 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/7.993, allocations: 151.9 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/7.993, allocations: 31.55 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/7.994, allocations: 0 / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.514e-05/7.994, allocations: 330.8 kB / 3.291 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/7.994, allocations: 43.97 kB / 3.291 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/7.994, allocations: 114.8 kB / 3.292 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/7.994, allocations: 55.91 kB / 3.292 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/7.994, allocations: 0 / 3.292 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005978/7.995, allocations: 161.2 kB / 3.292 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/7.995, allocations: 119.6 kB / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/7.995, allocations: 0 / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/7.995, allocations: 8 kB / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/7.995, allocations: 20.12 kB / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/7.995, allocations: 4 kB / 3.292 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/7.996, allocations: 31.83 kB / 3.292 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/7.996, allocations: 11.92 kB / 3.292 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/7.996, allocations: 4 kB / 3.292 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004542/7.996, allocations: 123.8 kB / 3.292 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/7.996, allocations: 0 / 3.292 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/7.996, allocations: 7.938 kB / 3.292 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/7.997, allocations: 23.98 kB / 3.292 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/7.997, allocations: 0 / 3.292 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/7.997, allocations: 19.92 kB / 3.292 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/7.997, allocations: 20.55 kB / 3.292 GB, free: 155.5 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/7.997, allocations: 217 kB / 3.292 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/7.997, allocations: 23.66 kB / 3.292 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/7.998, allocations: 175.2 kB / 3.293 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/7.998, allocations: 0 / 3.293 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/7.998, allocations: 0 / 3.293 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/7.998, allocations: 0 / 3.293 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/7.999, allocations: 0.5859 MB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/7.999, allocations: 4 kB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/7.999, allocations: 28.2 kB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/7.999, allocations: 4 kB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/7.999, allocations: 4 kB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/7.999, allocations: 8.016 kB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/7.999, allocations: 7.922 kB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/8, allocations: 301.1 kB / 3.293 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/8, allocations: 112.8 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/8, allocations: 12 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/8.001, allocations: 15.98 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/8.001, allocations: 15.86 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/8.001, allocations: 8 kB / 3.294 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002535/8.001, allocations: 193.9 kB / 3.294 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.5e-07/8.001, allocations: 4 kB / 3.294 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001017/8.002, allocations: 175.8 kB / 3.294 GB, free: 153.5 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/8.004, allocations: 0.9022 MB / 3.295 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008532/8.005, allocations: 171.8 kB / 3.295 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/8.005, allocations: 0 / 3.295 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/8.005, allocations: 63.83 kB / 3.295 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/8.006, allocations: 130.9 kB / 3.295 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/8.007, allocations: 0.4895 MB / 3.296 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/8.008, allocations: 0.756 MB / 3.296 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004183/8.008, allocations: 66.88 kB / 3.296 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/8.008, allocations: 19.44 kB / 3.296 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of SimCode: time 2.043e-06/8.008, allocations: 4 kB / 3.296 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.03317/8.041, allocations: 14.89 MB / 3.311 GB, free: 136 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)