Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009731/0.0009731, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001711/0.001711, allocations: 245.3 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7269/0.7269, allocations: 138.4 MB / 402.2 MB, free: 0.5742 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.51e-07/8.51e-07, allocations: 0.875 kB / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.877e-06/9.728e-06, allocations: 2.906 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.005762/0.005772, allocations: 6.997 MB / 469.3 MB, free: 11.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.008911, allocations: 2.881 MB / 472.2 MB, free: 8.762 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.00933, allocations: 24.91 kB / 472.2 MB, free: 8.738 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.009711, allocations: 119 kB / 472.4 MB, free: 8.621 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000985/0.0107, allocations: 0.5404 MB / 472.9 MB, free: 8.086 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008824/0.01158, allocations: 497.7 kB / 473.4 MB, free: 7.602 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.0127, allocations: 1.094 MB / 474.5 MB, free: 6.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.01306, allocations: 238.6 kB / 474.7 MB, free: 6.277 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.0137, allocations: 0.5569 MB / 475.3 MB, free: 5.723 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.01393, allocations: 192.1 kB / 475.5 MB, free: 5.535 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.01396, allocations: 16.78 kB / 475.5 MB, free: 5.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.01448, allocations: 383.2 kB / 475.9 MB, free: 5.145 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.01456, allocations: 72.28 kB / 475.9 MB, free: 5.074 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.01466, allocations: 111.7 kB / 476 MB, free: 4.965 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.01515, allocations: 455.6 kB / 476.5 MB, free: 4.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01516, allocations: 0 / 476.5 MB, free: 4.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01516, allocations: 0 / 476.5 MB, free: 4.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.01517, allocations: 0 / 476.5 MB, free: 4.52 MB / 426.7 MB 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.000573/0.01574, allocations: 0.6077 MB / 477.1 MB, free: 3.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.01577, allocations: 10 kB / 477.1 MB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.01582, allocations: 40.91 kB / 477.1 MB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.01619, allocations: 340.5 kB / 477.5 MB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.01621, allocations: 13.58 kB / 477.5 MB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.01623, allocations: 27.94 kB / 477.5 MB, free: 3.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.01642, allocations: 163.4 kB / 477.7 MB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.01643, allocations: 0 / 477.7 MB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.01644, allocations: 4 kB / 477.7 MB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.01645, allocations: 4 kB / 477.7 MB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.635e-05/0.0165, allocations: 36.25 kB / 477.7 MB, free: 3.23 MB / 426.7 MB 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.0004902/0.01699, allocations: 388.2 kB / 478.1 MB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.01709, allocations: 114.7 kB / 478.2 MB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.01712, allocations: 22.66 kB / 478.2 MB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/0.0172, allocations: 19.98 kB / 478.2 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.01722, allocations: 40.91 kB / 478.3 MB, free: 2.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.01722, allocations: 0 / 478.3 MB, free: 2.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001489/0.01737, allocations: 90.62 kB / 478.4 MB, free: 2.531 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.01739, allocations: 59.34 kB / 478.4 MB, free: 2.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.01755, allocations: 295.4 kB / 478.7 MB, free: 2.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.01756, allocations: 29.7 kB / 478.7 MB, free: 2.125 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.01762, allocations: 158.8 kB / 478.9 MB, free: 1.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.01765, allocations: 39.64 kB / 478.9 MB, free: 1.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.01769, allocations: 29.7 kB / 479 MB, free: 1.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.01778, allocations: 350.7 kB / 479.3 MB, free: 1.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.0178, allocations: 21.66 kB / 479.3 MB, free: 1.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/0.01789, allocations: 206.4 kB / 479.5 MB, free: 1.266 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.01794, allocations: 54.86 kB / 479.6 MB, free: 1.203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01795, allocations: 0 / 479.6 MB, free: 1.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.851e-05/0.01804, allocations: 96.17 kB / 479.7 MB, free: 1.102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.01805, allocations: 9 kB / 479.7 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01806, allocations: 5.922 kB / 479.7 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.01807, allocations: 0 / 479.7 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.01815, allocations: 25.33 kB / 479.7 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.01815, allocations: 0 / 479.7 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.01821, allocations: 15.89 kB / 479.7 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01822, allocations: 9.375 kB / 479.7 MB, free: 1.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.02e-05/0.01828, allocations: 101.8 kB / 479.8 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.453e-05/0.01836, allocations: 207.8 kB / 480 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.037e-05/0.01841, allocations: 58.27 kB / 480.1 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.01841, allocations: 1.156 kB / 480.1 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 8.998e-05/0.0185, allocations: 91.25 kB / 480.2 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.0185, allocations: 7.984 kB / 480.2 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.01851, allocations: 0.9375 kB / 480.2 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.01851, allocations: 0 / 480.2 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.01856, allocations: 29.39 kB / 480.2 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-06/0.01856, allocations: 0 / 480.2 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.01861, allocations: 8 kB / 480.2 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.01861, allocations: 8 kB / 480.2 MB, free: 484 kB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.01868, allocations: 189.2 kB / 480.4 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.01871, allocations: 19.97 kB / 480.5 MB, free: 268 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.01887, allocations: 134.1 kB / 480.6 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01888, allocations: 1.125 kB / 480.6 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01888, allocations: 1.5 kB / 480.6 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01888, allocations: 7.938 kB / 480.6 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.01923, allocations: 457.5 kB / 481 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01923, allocations: 3.938 kB / 481 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.01928, allocations: 24.8 kB / 481.1 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01929, allocations: 0 / 481.1 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.01929, allocations: 4.906 kB / 481.1 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01929, allocations: 0.5 kB / 481.1 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.0193, allocations: 10.69 kB / 481.1 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01944, allocations: 272.9 kB / 481.4 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.01949, allocations: 39.73 kB / 481.4 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.01951, allocations: 8.625 kB / 481.4 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.01957, allocations: 3.984 kB / 481.4 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.0196, allocations: 19.92 kB / 481.4 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.01961, allocations: 4 kB / 481.4 MB, free: 15.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.678e-05/0.01969, allocations: 121.6 kB / 481.5 MB, free: 15.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01969, allocations: 0 / 481.5 MB, free: 15.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.01995, allocations: 137.2 kB / 481.7 MB, free: 14.98 MB / 442.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001823/0.02013, allocations: 139.2 kB / 481.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.02027, allocations: 86.48 kB / 481.9 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.02027, allocations: 7.938 kB / 481.9 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.02032, allocations: 41.39 kB / 481.9 MB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.0207, allocations: 142.9 kB / 482.1 MB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.02143, allocations: 0.5514 MB / 482.6 MB, free: 14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.583e-05/0.02149, allocations: 97.56 kB / 482.7 MB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.02163, allocations: 52.14 kB / 482.8 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.02184, allocations: 152.4 kB / 482.9 MB, free: 13.7 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02184, allocations: 1 kB / 482.9 MB, free: 13.7 MB / 442.7 MB Notification: Performance of Templates: time 0.007963/0.0298, allocations: 5.763 MB / 488.7 MB, free: 8.426 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7272397028282285]