Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001367/0.001366, allocations: 182.8 kB / 326.2 MB, free: 2.859 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.427/2.427, allocations: 205.4 MB / 0.5772 GB, free: 21.15 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.0009315/0.0009312, allocations: 97.92 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 12.72 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2036, allocations: 106.3 MB / 0.8995 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.417, allocations: 394 MB / 1.284 GB, free: 9.398 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.418, allocations: 92.64 kB / 1.284 GB, free: 9.352 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.178/2.596, allocations: 162.4 MB / 1.443 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.004e-06/2.596, allocations: 0 / 1.443 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.6e-05/2.596, allocations: 7.594 kB / 1.443 GB, free: 293.1 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00184/2.598, allocations: 0.7646 MB / 1.444 GB, free: 292.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/2.598, allocations: 6.5 kB / 1.444 GB, free: 292.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/2.598, allocations: 48.41 kB / 1.444 GB, free: 292.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03432/2.632, allocations: 11.25 MB / 1.455 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/2.632, allocations: 13.36 kB / 1.455 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/2.632, allocations: 22.31 kB / 1.455 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/2.633, allocations: 172 kB / 1.455 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/2.633, allocations: 3.938 kB / 1.455 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/2.633, allocations: 9.188 kB / 1.455 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/2.633, allocations: 4.812 kB / 1.455 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/2.633, allocations: 143.1 kB / 1.455 GB, free: 291.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.001556/2.635, allocations: 0.8368 MB / 1.456 GB, free: 291.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/2.635, allocations: 121.8 kB / 1.456 GB, free: 291.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/2.636, allocations: 67.12 kB / 1.456 GB, free: 291.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/2.636, allocations: 338.7 kB / 1.456 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/2.636, allocations: 30.56 kB / 1.456 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.435e-06/2.636, allocations: 2.969 kB / 1.456 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0008501/2.637, allocations: 223.1 kB / 1.457 GB, free: 290.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/2.637, allocations: 51.41 kB / 1.457 GB, free: 290.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/2.637, allocations: 331.4 kB / 1.457 GB, free: 290.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/2.637, allocations: 29.58 kB / 1.457 GB, free: 290.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/2.638, allocations: 199.1 kB / 1.457 GB, free: 290.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/2.638, allocations: 39.61 kB / 1.457 GB, free: 290.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/2.638, allocations: 0 / 1.457 GB, free: 290.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/2.638, allocations: 348.5 kB / 1.458 GB, free: 290 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/2.638, allocations: 40.89 kB / 1.458 GB, free: 290 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/2.638, allocations: 110 kB / 1.458 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/2.639, allocations: 52.42 kB / 1.458 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/2.639, allocations: 0 / 1.458 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000579/2.639, allocations: 174.9 kB / 1.458 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/2.639, allocations: 109.8 kB / 1.458 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/2.639, allocations: 0 / 1.458 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/2.639, allocations: 0 / 1.458 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/2.64, allocations: 33.81 kB / 1.458 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/2.64, allocations: 0 / 1.458 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/2.64, allocations: 36.56 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/2.64, allocations: 10.28 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/2.64, allocations: 3.719 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000458/2.64, allocations: 116 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/2.64, allocations: 3.375 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/2.64, allocations: 0 / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/2.641, allocations: 26.11 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/2.641, allocations: 2.656 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/2.641, allocations: 28.55 kB / 1.458 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/2.641, allocations: 7 kB / 1.458 GB, free: 289.7 MB / 0.8855 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 () * Number of clocked 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 0.0002523/2.641, allocations: 224.4 kB / 1.459 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/2.641, allocations: 34.5 kB / 1.459 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/2.642, allocations: 231.9 kB / 1.459 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/2.642, allocations: 7.969 kB / 1.459 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/2.642, allocations: 0 / 1.459 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.642, allocations: 3.047 kB / 1.459 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/2.644, allocations: 0.6113 MB / 1.459 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/2.644, allocations: 3.938 kB / 1.459 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/2.644, allocations: 29.22 kB / 1.459 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/2.644, allocations: 0 / 1.459 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/2.644, allocations: 7.156 kB / 1.459 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/2.644, allocations: 7.562 kB / 1.459 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/2.644, allocations: 7.453 kB / 1.459 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/2.645, allocations: 326.6 kB / 1.46 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/2.645, allocations: 125.3 kB / 1.46 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/2.645, allocations: 4 kB / 1.46 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/2.645, allocations: 27.81 kB / 1.46 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/2.645, allocations: 14.14 kB / 1.46 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/2.645, allocations: 5.625 kB / 1.46 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003031/2.646, allocations: 231.3 kB / 1.46 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.1e-07/2.646, allocations: 0 / 1.46 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008437/2.646, allocations: 162.2 kB / 1.46 GB, free: 288.5 MB / 0.8855 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 () * Number of clocked 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.0006886/2.647, allocations: 281.2 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000793/2.648, allocations: 183.2 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/2.648, allocations: 0 / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/2.648, allocations: 90.86 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/2.65, allocations: 145.8 kB / 1.461 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/2.651, allocations: 0.6839 MB / 1.462 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/2.651, allocations: 0.7937 MB / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000445/2.652, allocations: 70.73 kB / 1.463 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/2.652, allocations: 29.94 kB / 1.463 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/2.652, allocations: 0 / 1.463 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.01839/2.67, allocations: 6.298 MB / 1.469 GB, free: 285 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)