Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.00203/0.00203, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002271/0.002271, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.683/1.683, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.241/3.241, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.562e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02076/0.02079, allocations: 13.97 MB / 1.015 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007354/0.02815, allocations: 3.631 MB / 1.018 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.02865, allocations: 27.75 kB / 1.018 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.02933, allocations: 190.6 kB / 1.018 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.0314, allocations: 0.7265 MB / 1.019 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.03298, allocations: 0.5078 MB / 1.02 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00201/0.03499, allocations: 1.09 MB / 1.021 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.03546, allocations: 225.5 kB / 1.021 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.03694, allocations: 0.6698 MB / 1.022 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.03733, allocations: 207.3 kB / 1.022 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.0374, allocations: 20 kB / 1.022 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.03842, allocations: 427 kB / 1.022 GB, free: 7.27 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.03855, allocations: 71.62 kB / 1.022 GB, free: 7.199 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.03874, allocations: 111.7 kB / 1.022 GB, free: 7.09 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.03981, allocations: 0.5762 MB / 1.023 GB, free: 6.512 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.03981, allocations: 0 / 1.023 GB, free: 6.512 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.714e-06/0.03981, allocations: 0 / 1.023 GB, free: 6.512 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.03982, allocations: 0 / 1.023 GB, free: 6.512 MB / 0.9792 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.001172/0.041, allocations: 0.6404 MB / 1.024 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.04104, allocations: 9.344 kB / 1.024 GB, free: 5.832 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.04115, allocations: 48.66 kB / 1.024 GB, free: 5.785 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.04226, allocations: 384 kB / 1.024 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.04229, allocations: 12.7 kB / 1.024 GB, free: 5.375 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.04233, allocations: 23.94 kB / 1.024 GB, free: 5.352 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.0428, allocations: 204.9 kB / 1.024 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.04281, allocations: 0 / 1.024 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.04283, allocations: 4 kB / 1.024 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.04284, allocations: 11.98 kB / 1.024 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.0432, allocations: 135.8 kB / 1.024 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.04429, allocations: 0.5271 MB / 1.025 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.04461, allocations: 126.6 kB / 1.025 GB, free: 4.301 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.04479, allocations: 64.81 kB / 1.025 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.04497, allocations: 31.97 kB / 1.025 GB, free: 4.203 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.04502, allocations: 30.56 kB / 1.025 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.04502, allocations: 0 / 1.025 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0006549/0.04567, allocations: 217.3 kB / 1.025 GB, free: 3.945 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.04572, allocations: 55.41 kB / 1.025 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.04611, allocations: 333.6 kB / 1.026 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.04615, allocations: 29.7 kB / 1.026 GB, free: 3.508 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.04636, allocations: 200.4 kB / 1.026 GB, free: 3.309 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.04641, allocations: 39.64 kB / 1.026 GB, free: 3.27 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.04648, allocations: 33.7 kB / 1.026 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.04669, allocations: 338.8 kB / 1.026 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.04685, allocations: 56.81 kB / 1.026 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.04714, allocations: 234.5 kB / 1.027 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.04745, allocations: 129.6 kB / 1.027 GB, free: 2.418 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.04745, allocations: 0 / 1.027 GB, free: 2.418 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003931/0.04784, allocations: 169.4 kB / 1.027 GB, free: 2.246 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.04786, allocations: 4 kB / 1.027 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.04786, allocations: 4 kB / 1.027 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.04788, allocations: 0 / 1.027 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.04803, allocations: 23.98 kB / 1.027 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.04804, allocations: 8 kB / 1.027 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.04818, allocations: 27.88 kB / 1.027 GB, free: 2.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.0482, allocations: 4 kB / 1.027 GB, free: 2.176 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002709/0.04847, allocations: 156.1 kB / 1.027 GB, free: 2.02 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002899/0.04876, allocations: 251 kB / 1.027 GB, free: 1.723 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002805/0.04904, allocations: 113.7 kB / 1.027 GB, free: 1.605 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.04904, allocations: 0 / 1.027 GB, free: 1.605 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003856/0.04943, allocations: 169.4 kB / 1.028 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.04944, allocations: 4 kB / 1.028 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.04944, allocations: 0 / 1.028 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.04944, allocations: 7.984 kB / 1.028 GB, free: 1.422 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.04956, allocations: 27.92 kB / 1.028 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.04956, allocations: 0 / 1.028 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.04969, allocations: 23.88 kB / 1.028 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.0497, allocations: 4 kB / 1.028 GB, free: 1.367 MB / 0.9792 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.04986, allocations: 192.2 kB / 1.028 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.04992, allocations: 35.77 kB / 1.028 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.05048, allocations: 228.7 kB / 1.028 GB, free: 0.9102 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.05049, allocations: 0 / 1.028 GB, free: 0.9102 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.05049, allocations: 0 / 1.028 GB, free: 0.9102 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.0505, allocations: 3.938 kB / 1.028 GB, free: 0.9062 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.05146, allocations: 0.554 MB / 1.029 GB, free: 316 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.05147, allocations: 0 / 1.029 GB, free: 316 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.05158, allocations: 23.98 kB / 1.029 GB, free: 292 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.05158, allocations: 96 / 1.029 GB, free: 292 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.0516, allocations: 11.94 kB / 1.029 GB, free: 280 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.0516, allocations: 3.984 kB / 1.029 GB, free: 276 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.05161, allocations: 11.97 kB / 1.029 GB, free: 264 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.05214, allocations: 321.7 kB / 1.029 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.05223, allocations: 47.75 kB / 1.029 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.05227, allocations: 3.938 kB / 1.029 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.05242, allocations: 15.98 kB / 1.029 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.05247, allocations: 11.97 kB / 1.029 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.05249, allocations: 4 kB / 1.029 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002603/0.05275, allocations: 231.2 kB / 1.029 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.05275, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005364/0.05329, allocations: 151.6 kB / 1.03 GB, free: 15.46 MB / 0.9948 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 (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.0003935/0.05368, allocations: 191 kB / 1.03 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.05425, allocations: 179.8 kB / 1.03 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05425, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.05444, allocations: 75.89 kB / 1.03 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.05518, allocations: 130.1 kB / 1.03 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.05659, allocations: 0.5699 MB / 1.031 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.05682, allocations: 189.1 kB / 1.031 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.05707, allocations: 79.05 kB / 1.031 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.05714, allocations: 28.5 kB / 1.031 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of SimCode: time 8.11e-07/0.05714, allocations: 3.938 kB / 1.031 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of Templates: time 0.01306/0.07019, allocations: 5.387 MB / 1.036 GB, free: 8.719 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.488892410881817]