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.346/1.346, allocations: 252 MB / 267.9 MB, free: 10.91 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.001003/0.001003, allocations: 177.7 kB / 327.6 MB, free: 2.152 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.613/1.613, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.000779/0.0007791, allocations: 91.72 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003693, allocations: 16.33 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.097/4.319, allocations: 2.18 GB / 3.082 GB, free: 39.81 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/4.319, allocations: 88.84 kB / 3.082 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7847/5.104, allocations: 213.1 MB / 3.29 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.915e-06/5.104, allocations: 0 / 3.29 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.977e-05/5.104, allocations: 8 kB / 3.29 GB, free: 187.6 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.001221/5.105, allocations: 0.5997 MB / 3.29 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/5.106, allocations: 8.031 kB / 3.29 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/5.106, allocations: 64.52 kB / 3.291 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/5.106, allocations: 306.8 kB / 3.291 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/5.106, allocations: 16.31 kB / 3.291 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/5.107, allocations: 16.38 kB / 3.291 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/5.107, allocations: 197.5 kB / 3.291 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/5.107, allocations: 3.938 kB / 3.291 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/5.107, allocations: 8 kB / 3.291 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/5.107, allocations: 4 kB / 3.291 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/5.107, allocations: 123.8 kB / 3.291 GB, free: 186.1 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.0009654/5.108, allocations: 0.7964 MB / 3.292 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/5.108, allocations: 82.47 kB / 3.292 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/5.109, allocations: 76.88 kB / 3.292 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/5.109, allocations: 186.2 kB / 3.292 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/5.109, allocations: 34.56 kB / 3.292 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/5.109, allocations: 0 / 3.292 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0005944/5.11, allocations: 229.5 kB / 3.293 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/5.11, allocations: 51.41 kB / 3.293 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/5.11, allocations: 267 kB / 3.293 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/5.11, allocations: 33.7 kB / 3.293 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/5.11, allocations: 147.9 kB / 3.293 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/5.11, allocations: 31.55 kB / 3.293 GB, free: 184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/5.11, allocations: 4 kB / 3.293 GB, free: 184 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/5.11, allocations: 326.8 kB / 3.293 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/5.11, allocations: 51.95 kB / 3.293 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/5.11, allocations: 106.8 kB / 3.294 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/5.11, allocations: 131.2 kB / 3.294 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/5.11, allocations: 0 / 3.294 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002841/5.111, allocations: 169.3 kB / 3.294 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/5.111, allocations: 111.6 kB / 3.294 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/5.111, allocations: 0 / 3.294 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/5.111, allocations: 8.031 kB / 3.294 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/5.111, allocations: 23.92 kB / 3.294 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/5.111, allocations: 4 kB / 3.294 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/5.111, allocations: 27.81 kB / 3.294 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/5.111, allocations: 15.94 kB / 3.294 GB, free: 183 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/5.111, allocations: 4 kB / 3.294 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002306/5.112, allocations: 111.8 kB / 3.294 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/5.112, allocations: 4 kB / 3.294 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-06/5.112, allocations: 0 / 3.294 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/5.112, allocations: 27.92 kB / 3.294 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/5.112, allocations: 4.031 kB / 3.294 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/5.112, allocations: 27.88 kB / 3.294 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/5.112, allocations: 8 kB / 3.294 GB, free: 182.8 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.0001257/5.112, allocations: 215.8 kB / 3.294 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/5.112, allocations: 27.66 kB / 3.294 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/5.112, allocations: 171.6 kB / 3.295 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/5.112, allocations: 288 / 3.295 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/5.112, allocations: 0 / 3.295 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/5.112, allocations: 4.078 kB / 3.295 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/5.113, allocations: 0.5937 MB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/5.113, allocations: 7.938 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/5.113, allocations: 23.98 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/5.113, allocations: 4 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/5.113, allocations: 0 / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/5.113, allocations: 11.98 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/5.113, allocations: 3.938 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/5.114, allocations: 309.2 kB / 3.295 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/5.114, allocations: 112.8 kB / 3.296 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/5.114, allocations: 7.984 kB / 3.296 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/5.114, allocations: 15.98 kB / 3.296 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/5.114, allocations: 19.92 kB / 3.296 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/5.114, allocations: 4 kB / 3.296 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001562/5.114, allocations: 194 kB / 3.296 GB, free: 181 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/5.114, allocations: 0 / 3.296 GB, free: 181 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007678/5.115, allocations: 171.8 kB / 3.296 GB, free: 180.8 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.001401/5.116, allocations: 0.8994 MB / 3.297 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004078/5.117, allocations: 179.7 kB / 3.297 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/5.117, allocations: 0 / 3.297 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/5.117, allocations: 68.47 kB / 3.297 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/5.118, allocations: 131.2 kB / 3.297 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/5.118, allocations: 0.4895 MB / 3.298 GB, free: 179 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/5.119, allocations: 0.7638 MB / 3.298 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002424/5.119, allocations: 62.89 kB / 3.299 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/5.119, allocations: 19.44 kB / 3.299 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/5.119, allocations: 0 / 3.299 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.01839/5.137, allocations: 14.99 MB / 3.313 GB, free: 163.2 MB / 0.8855 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)