Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 285.4 MB / 298 MB, free: 5.984 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.001374/0.001374, allocations: 180.9 kB / 366.4 MB, free: 2.094 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.628/1.628, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.000906/0.0009059, allocations: 90.22 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.253e-05/4.256e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8255, allocations: 115.3 MB / 0.9709 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.979, allocations: 401.7 MB / 1.363 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.98, allocations: 86.77 kB / 1.363 GB, free: 158 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3023/2.282, allocations: 167.6 MB / 1.527 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/2.282, allocations: 4 kB / 1.527 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.894e-05/2.282, allocations: 8 kB / 1.527 GB, free: 3.59 MB / 0.8542 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.0009155/2.283, allocations: 0.663 MB / 1.528 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/2.283, allocations: 12.03 kB / 1.528 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/2.283, allocations: 43.47 kB / 1.528 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0284/2.312, allocations: 13.69 MB / 1.541 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/2.312, allocations: 16.33 kB / 1.541 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/2.312, allocations: 19.95 kB / 1.541 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/2.312, allocations: 152.3 kB / 1.541 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/2.312, allocations: 0 / 1.541 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/2.312, allocations: 11.94 kB / 1.541 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/2.312, allocations: 8 kB / 1.541 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/2.312, allocations: 108.2 kB / 1.541 GB, free: 4.641 MB / 0.8698 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.001212/2.314, allocations: 0.8294 MB / 1.542 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/2.314, allocations: 98.67 kB / 1.542 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/2.314, allocations: 52.84 kB / 1.542 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/2.314, allocations: 336.4 kB / 1.543 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/2.314, allocations: 38.56 kB / 1.543 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 3.046e-06/2.314, allocations: 0 / 1.543 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0003146/2.315, allocations: 133.4 kB / 1.543 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/2.315, allocations: 55.41 kB / 1.543 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/2.315, allocations: 282.9 kB / 1.543 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/2.315, allocations: 33.7 kB / 1.543 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/2.315, allocations: 192.2 kB / 1.543 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/2.315, allocations: 43.39 kB / 1.543 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/2.315, allocations: 4 kB / 1.543 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001557/2.315, allocations: 350.8 kB / 1.544 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/2.315, allocations: 24 kB / 1.544 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.753e-05/2.316, allocations: 82.8 kB / 1.544 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/2.316, allocations: 43.95 kB / 1.544 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/2.316, allocations: 0 / 1.544 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002099/2.316, allocations: 133.2 kB / 1.544 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/2.316, allocations: 186 kB / 1.544 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/2.316, allocations: 0 / 1.544 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/2.316, allocations: 0 / 1.544 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/2.316, allocations: 44 kB / 1.544 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/2.316, allocations: 0 / 1.544 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/2.316, allocations: 35.81 kB / 1.544 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/2.316, allocations: 8 kB / 1.544 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/2.316, allocations: 0 / 1.544 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001481/2.317, allocations: 79.91 kB / 1.544 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-06/2.317, allocations: 4 kB / 1.544 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/2.317, allocations: 4 kB / 1.544 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/2.317, allocations: 27.97 kB / 1.544 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/2.317, allocations: 3.938 kB / 1.544 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/2.317, allocations: 31.83 kB / 1.544 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/2.317, allocations: 15.98 kB / 1.544 GB, free: 1.234 MB / 0.8698 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 0.0001079/2.317, allocations: 112.9 kB / 1.544 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/2.317, allocations: 31.62 kB / 1.544 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/2.317, allocations: 188.7 kB / 1.545 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/2.317, allocations: 4 kB / 1.545 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/2.317, allocations: 0 / 1.545 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/2.317, allocations: 7.922 kB / 1.545 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/2.318, allocations: 0.5721 MB / 1.545 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/2.318, allocations: 4 kB / 1.545 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/2.318, allocations: 27.92 kB / 1.545 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/2.318, allocations: 7.984 kB / 1.545 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/2.318, allocations: 0 / 1.545 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/2.318, allocations: 4 kB / 1.545 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.318, allocations: 4.188 kB / 1.545 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/2.319, allocations: 326.6 kB / 1.546 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/2.319, allocations: 128.6 kB / 1.546 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/2.319, allocations: 7.953 kB / 1.546 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/2.319, allocations: 23.97 kB / 1.546 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/2.319, allocations: 7.984 kB / 1.546 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/2.319, allocations: 8 kB / 1.546 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002275/2.319, allocations: 233.2 kB / 1.546 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/2.319, allocations: 0 / 1.546 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006021/2.32, allocations: 163.8 kB / 1.546 GB, free: 15.26 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 () * 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.0006755/2.321, allocations: 287.8 kB / 1.546 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003202/2.321, allocations: 146.6 kB / 1.547 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/2.321, allocations: 4 kB / 1.547 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/2.321, allocations: 67.91 kB / 1.547 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/2.322, allocations: 135.6 kB / 1.547 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007628/2.323, allocations: 398.7 kB / 1.547 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/2.323, allocations: 0.7961 MB / 1.548 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003804/2.324, allocations: 91.67 kB / 1.548 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/2.324, allocations: 27.42 kB / 1.548 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/2.324, allocations: 0 / 1.548 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.01342/2.337, allocations: 7.334 MB / 1.555 GB, free: 6.012 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)