Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001178/0.001178, allocations: 178.2 kB / 371.6 MB, free: 3.387 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.672/1.672, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008772/0.0008773, allocations: 96.77 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.673e-05, allocations: 4 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2783, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.442, allocations: 402.7 MB / 1.373 GB, free: 10.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/1.443, allocations: 85.58 kB / 1.373 GB, free: 10.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.022/2.464, allocations: 167.5 MB / 1.537 GB, free: 234.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.625e-06/2.465, allocations: 0 / 1.537 GB, free: 234.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.853e-05/2.465, allocations: 15.94 kB / 1.537 GB, free: 234.6 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001376/2.466, allocations: 0.6703 MB / 1.537 GB, free: 233.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/2.466, allocations: 8.031 kB / 1.537 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/2.466, allocations: 46.8 kB / 1.537 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02645/2.493, allocations: 13.69 MB / 1.551 GB, free: 220 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/2.493, allocations: 16.33 kB / 1.551 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/2.493, allocations: 23.95 kB / 1.551 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/2.493, allocations: 152.9 kB / 1.551 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/2.493, allocations: 0 / 1.551 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/2.493, allocations: 7.938 kB / 1.551 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/2.493, allocations: 4 kB / 1.551 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/2.493, allocations: 104.2 kB / 1.551 GB, free: 219.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001007/2.494, allocations: 0.8373 MB / 1.552 GB, free: 218.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/2.495, allocations: 102.5 kB / 1.552 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/2.495, allocations: 52.84 kB / 1.552 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/2.495, allocations: 340.4 kB / 1.552 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/2.495, allocations: 38.56 kB / 1.552 GB, free: 218.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/2.495, allocations: 0 / 1.552 GB, free: 218.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0002612/2.495, allocations: 129.3 kB / 1.553 GB, free: 218 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/2.495, allocations: 59.34 kB / 1.553 GB, free: 217.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/2.496, allocations: 286.9 kB / 1.553 GB, free: 217.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/2.496, allocations: 25.7 kB / 1.553 GB, free: 217.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/2.496, allocations: 196.2 kB / 1.553 GB, free: 217.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/2.496, allocations: 35.45 kB / 1.553 GB, free: 217.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/2.496, allocations: 4 kB / 1.553 GB, free: 217.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/2.496, allocations: 346.8 kB / 1.553 GB, free: 217 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/2.496, allocations: 28.16 kB / 1.554 GB, free: 217 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/2.496, allocations: 90.8 kB / 1.554 GB, free: 216.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/2.496, allocations: 39.91 kB / 1.554 GB, free: 216.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/2.496, allocations: 4 kB / 1.554 GB, free: 216.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001747/2.496, allocations: 133.2 kB / 1.554 GB, free: 216.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/2.496, allocations: 187.2 kB / 1.554 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/2.496, allocations: 4 kB / 1.554 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/2.496, allocations: 0 / 1.554 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/2.496, allocations: 27.94 kB / 1.554 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/2.496, allocations: 4 kB / 1.554 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/2.497, allocations: 35.81 kB / 1.554 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/2.497, allocations: 8 kB / 1.554 GB, free: 216.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/2.497, allocations: 4 kB / 1.554 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000119/2.497, allocations: 79.84 kB / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/2.497, allocations: 0 / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-06/2.497, allocations: 0 / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/2.497, allocations: 35.97 kB / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/2.497, allocations: 0 / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/2.497, allocations: 31.83 kB / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/2.497, allocations: 7.984 kB / 1.554 GB, free: 216.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.741e-05/2.497, allocations: 120.9 kB / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/2.497, allocations: 31.91 kB / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/2.498, allocations: 204.8 kB / 1.555 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.498, allocations: 0 / 1.555 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/2.498, allocations: 0 / 1.555 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/2.498, allocations: 3.984 kB / 1.555 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/2.498, allocations: 0.5792 MB / 1.555 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/2.498, allocations: 0 / 1.555 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/2.498, allocations: 31.97 kB / 1.555 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/2.498, allocations: 0 / 1.555 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/2.498, allocations: 8 kB / 1.555 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/2.498, allocations: 0 / 1.555 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.498, allocations: 7.938 kB / 1.555 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/2.499, allocations: 311.5 kB / 1.555 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/2.499, allocations: 124.6 kB / 1.556 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/2.499, allocations: 3.953 kB / 1.556 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/2.499, allocations: 31.97 kB / 1.556 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/2.499, allocations: 7.984 kB / 1.556 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/2.499, allocations: 12 kB / 1.556 GB, free: 214.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001617/2.499, allocations: 233.2 kB / 1.556 GB, free: 214.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.293e-06/2.499, allocations: 0 / 1.556 GB, free: 214.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005969/2.5, allocations: 163.7 kB / 1.556 GB, free: 214.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006385/2.5, allocations: 290.1 kB / 1.556 GB, free: 214 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002739/2.501, allocations: 154 kB / 1.556 GB, free: 213.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/2.501, allocations: 0 / 1.556 GB, free: 213.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/2.501, allocations: 59.92 kB / 1.556 GB, free: 213.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/2.502, allocations: 138.3 kB / 1.557 GB, free: 213.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/2.502, allocations: 387.2 kB / 1.557 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/2.502, allocations: 0.8078 MB / 1.558 GB, free: 212.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003057/2.503, allocations: 95.16 kB / 1.558 GB, free: 212.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/2.503, allocations: 27.42 kB / 1.558 GB, free: 212.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/2.503, allocations: 0 / 1.558 GB, free: 212.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01117/2.514, allocations: 7.329 MB / 1.565 GB, free: 205 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)