Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 293 MB / 309 MB, free: 4.836 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 176.5 kB / 378.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 0.6383 GB, free: 8.234 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008856/0.0008857, allocations: 97.5 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004265, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2988, allocations: 116.4 MB / 0.9904 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.985/5.284, allocations: 2.063 GB / 3.054 GB, free: 154.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/5.284, allocations: 88.47 kB / 3.054 GB, free: 154.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.902/6.186, allocations: 219.9 MB / 3.269 GB, free: 230.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.186e-06/6.186, allocations: 2.906 kB / 3.269 GB, free: 230.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.254e-05/6.186, allocations: 11.31 kB / 3.269 GB, free: 230.7 MB / 0.948 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.001256/6.188, allocations: 0.5991 MB / 3.269 GB, free: 230.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/6.188, allocations: 9.906 kB / 3.269 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/6.188, allocations: 59.75 kB / 3.269 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/6.189, allocations: 313 kB / 3.27 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/6.189, allocations: 10.78 kB / 3.27 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/6.189, allocations: 17.41 kB / 3.27 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/6.189, allocations: 194.8 kB / 3.27 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/6.189, allocations: 5.062 kB / 3.27 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/6.189, allocations: 6.938 kB / 3.27 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/6.189, allocations: 3.25 kB / 3.27 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/6.19, allocations: 130 kB / 3.27 GB, free: 229.9 MB / 0.948 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.001169/6.191, allocations: 0.7944 MB / 3.271 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/6.191, allocations: 76.59 kB / 3.271 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/6.192, allocations: 75.86 kB / 3.271 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/6.192, allocations: 191.9 kB / 3.271 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/6.192, allocations: 30.56 kB / 3.271 GB, free: 229.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.056e-06/6.192, allocations: 0 / 3.271 GB, free: 229.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0007677/6.193, allocations: 229.9 kB / 3.271 GB, free: 229.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/6.193, allocations: 54.78 kB / 3.271 GB, free: 229.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/6.193, allocations: 262.3 kB / 3.272 GB, free: 229 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/6.193, allocations: 36.2 kB / 3.272 GB, free: 228.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/6.193, allocations: 150.5 kB / 3.272 GB, free: 228.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/6.193, allocations: 34.91 kB / 3.272 GB, free: 228.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/6.193, allocations: 0 / 3.272 GB, free: 228.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/6.193, allocations: 337.8 kB / 3.272 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/6.193, allocations: 47.14 kB / 3.272 GB, free: 228.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/6.194, allocations: 103.8 kB / 3.272 GB, free: 228.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/6.194, allocations: 135.5 kB / 3.272 GB, free: 228.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/6.194, allocations: 3.5 kB / 3.272 GB, free: 228.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003946/6.194, allocations: 160.9 kB / 3.272 GB, free: 228.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/6.194, allocations: 113.1 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/6.194, allocations: 4 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/6.194, allocations: 3.406 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/6.195, allocations: 29.94 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/6.195, allocations: 5.453 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/6.195, allocations: 22.56 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/6.195, allocations: 12.75 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/6.195, allocations: 3.281 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003261/6.195, allocations: 114.1 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/6.195, allocations: 7.062 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-06/6.195, allocations: 3.469 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/6.195, allocations: 25.02 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/6.195, allocations: 0 / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/6.196, allocations: 24.69 kB / 3.273 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/6.196, allocations: 12.86 kB / 3.273 GB, free: 228.2 MB / 0.948 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.0001646/6.196, allocations: 210.7 kB / 3.273 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/6.196, allocations: 28.5 kB / 3.273 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/6.196, allocations: 174.6 kB / 3.273 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/6.196, allocations: 0 / 3.273 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/6.196, allocations: 0 / 3.273 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.196, allocations: 3.281 kB / 3.273 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/6.197, allocations: 0.5946 MB / 3.274 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/6.197, allocations: 3.938 kB / 3.274 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/6.198, allocations: 29.72 kB / 3.274 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/6.198, allocations: 3.312 kB / 3.274 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/6.198, allocations: 3.344 kB / 3.274 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/6.198, allocations: 3.219 kB / 3.274 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/6.198, allocations: 7.875 kB / 3.274 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/6.198, allocations: 299.5 kB / 3.274 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/6.198, allocations: 114.2 kB / 3.274 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/6.198, allocations: 7.281 kB / 3.274 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/6.198, allocations: 25.3 kB / 3.274 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/6.198, allocations: 14.77 kB / 3.274 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/6.199, allocations: 6.688 kB / 3.274 GB, free: 227.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001997/6.199, allocations: 192.5 kB / 3.275 GB, free: 227.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/6.199, allocations: 7.281 kB / 3.275 GB, free: 227.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009398/6.2, allocations: 168.1 kB / 3.275 GB, free: 227.2 MB / 0.948 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.001662/6.201, allocations: 0.9016 MB / 3.276 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005601/6.202, allocations: 175.1 kB / 3.276 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/6.202, allocations: 0 / 3.276 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/6.202, allocations: 71.61 kB / 3.276 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/6.203, allocations: 128.6 kB / 3.276 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008319/6.204, allocations: 0.4961 MB / 3.276 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/6.204, allocations: 0.7531 MB / 3.277 GB, free: 225.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003281/6.205, allocations: 69.02 kB / 3.277 GB, free: 225.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/6.205, allocations: 20 kB / 3.277 GB, free: 225.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.11e-07/6.205, allocations: 0 / 3.277 GB, free: 225.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03189/6.237, allocations: 14.99 MB / 3.292 GB, free: 224.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)