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.002714/0.002714, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.00209/0.00209, allocations: 220 kB / 23.02 MB, free: 2.957 MB / 13.93 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.765/1.765, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.375/3.375, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 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 0.003647/0.003647, allocations: 75.88 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9181, allocations: 180 MB / 1.353 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02026/0.9384, allocations: 14.07 MB / 1.367 GB, free: 3.477 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.006732/0.9451, allocations: 3.624 MB / 1.37 GB, free: 15.84 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.9456, allocations: 23.81 kB / 1.37 GB, free: 15.82 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.9463, allocations: 194.7 kB / 1.37 GB, free: 15.63 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.9483, allocations: 0.7059 MB / 1.371 GB, free: 14.92 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.9496, allocations: 483.2 kB / 1.372 GB, free: 14.45 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.9514, allocations: 1.1 MB / 1.373 GB, free: 13.35 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.9518, allocations: 229.6 kB / 1.373 GB, free: 13.12 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.9532, allocations: 0.5605 MB / 1.373 GB, free: 12.55 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.9535, allocations: 242.7 kB / 1.374 GB, free: 12.32 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.9536, allocations: 16 kB / 1.374 GB, free: 12.3 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008977/0.9545, allocations: 423.2 kB / 1.374 GB, free: 11.89 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.9546, allocations: 67.66 kB / 1.374 GB, free: 11.82 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.9548, allocations: 155.2 kB / 1.374 GB, free: 11.67 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.0009294/0.9557, allocations: 0.5564 MB / 1.375 GB, free: 11.11 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9557, allocations: 4 kB / 1.375 GB, free: 11.11 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9557, allocations: 0 / 1.375 GB, free: 11.11 MB / 1.057 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9557, allocations: 0 / 1.375 GB, free: 11.11 MB / 1.057 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.001108/0.9568, allocations: 0.6403 MB / 1.375 GB, free: 10.43 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.9569, allocations: 12.92 kB / 1.375 GB, free: 10.42 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.957, allocations: 44.66 kB / 1.375 GB, free: 10.38 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.9578, allocations: 388.4 kB / 1.376 GB, free: 9.98 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.9578, allocations: 16.33 kB / 1.376 GB, free: 9.965 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.9578, allocations: 16 kB / 1.376 GB, free: 9.949 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.9583, allocations: 208.9 kB / 1.376 GB, free: 9.734 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.9583, allocations: 0 / 1.376 GB, free: 9.734 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.9583, allocations: 4 kB / 1.376 GB, free: 9.73 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.9583, allocations: 11.88 kB / 1.376 GB, free: 9.719 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.9587, allocations: 139.8 kB / 1.376 GB, free: 9.582 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.9598, allocations: 0.531 MB / 1.377 GB, free: 9.02 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.96, allocations: 114.6 kB / 1.377 GB, free: 8.898 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.9602, allocations: 64.81 kB / 1.377 GB, free: 8.832 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.9604, allocations: 35.97 kB / 1.377 GB, free: 8.797 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.9604, allocations: 30.56 kB / 1.377 GB, free: 8.758 MB / 1.057 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.9604, allocations: 4 kB / 1.377 GB, free: 8.754 MB / 1.057 GB Notification: Performance of matching and sorting (n=12): time 0.0005836/0.961, allocations: 225.2 kB / 1.377 GB, free: 8.527 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.9611, allocations: 59.34 kB / 1.377 GB, free: 8.457 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.9614, allocations: 321.7 kB / 1.378 GB, free: 8.129 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.9615, allocations: 25.7 kB / 1.378 GB, free: 8.098 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.9616, allocations: 196.4 kB / 1.378 GB, free: 7.902 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.9617, allocations: 43.69 kB / 1.378 GB, free: 7.859 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.9618, allocations: 37.66 kB / 1.378 GB, free: 7.816 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.962, allocations: 342.8 kB / 1.378 GB, free: 7.473 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.9621, allocations: 52.81 kB / 1.378 GB, free: 7.418 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.9624, allocations: 242.4 kB / 1.378 GB, free: 7.129 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.9627, allocations: 117.6 kB / 1.379 GB, free: 7.008 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9627, allocations: 0 / 1.379 GB, free: 7.008 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004001/0.9631, allocations: 173.4 kB / 1.379 GB, free: 6.832 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9631, allocations: 8 kB / 1.379 GB, free: 6.824 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.9631, allocations: 3.984 kB / 1.379 GB, free: 6.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9631, allocations: 3.938 kB / 1.379 GB, free: 6.816 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.9633, allocations: 28.05 kB / 1.379 GB, free: 6.789 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9633, allocations: 0 / 1.379 GB, free: 6.789 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.9634, allocations: 23.97 kB / 1.379 GB, free: 6.766 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.9634, allocations: 11.92 kB / 1.379 GB, free: 6.754 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002396/0.9637, allocations: 156.1 kB / 1.379 GB, free: 6.598 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002774/0.964, allocations: 242.4 kB / 1.379 GB, free: 6.309 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000275/0.9642, allocations: 109.7 kB / 1.379 GB, free: 6.195 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.9642, allocations: 0 / 1.379 GB, free: 6.195 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003702/0.9646, allocations: 169.4 kB / 1.379 GB, free: 6.023 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9646, allocations: 15.92 kB / 1.379 GB, free: 6.008 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/0.9646, allocations: 0 / 1.379 GB, free: 6.008 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-06/0.9646, allocations: 0 / 1.379 GB, free: 6.008 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.9647, allocations: 31.92 kB / 1.379 GB, free: 5.977 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/0.9647, allocations: 0 / 1.379 GB, free: 5.977 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.9649, allocations: 19.94 kB / 1.379 GB, free: 5.957 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.9649, allocations: 4 kB / 1.379 GB, free: 5.953 MB / 1.057 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.000164/0.9651, allocations: 184.3 kB / 1.38 GB, free: 5.766 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.9651, allocations: 31.81 kB / 1.38 GB, free: 5.734 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.9657, allocations: 243.9 kB / 1.38 GB, free: 5.492 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.9657, allocations: 4 kB / 1.38 GB, free: 5.488 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9657, allocations: 7.938 kB / 1.38 GB, free: 5.48 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9657, allocations: 0 / 1.38 GB, free: 5.48 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.9669, allocations: 0.5472 MB / 1.38 GB, free: 4.887 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.9669, allocations: 0 / 1.38 GB, free: 4.887 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.9671, allocations: 23.98 kB / 1.381 GB, free: 4.863 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9671, allocations: 4 kB / 1.381 GB, free: 4.859 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.9671, allocations: 4 kB / 1.381 GB, free: 4.855 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.9671, allocations: 12.08 kB / 1.381 GB, free: 4.844 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9671, allocations: 0 / 1.381 GB, free: 4.844 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.9676, allocations: 325.7 kB / 1.381 GB, free: 4.5 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.9677, allocations: 43.69 kB / 1.381 GB, free: 4.457 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.9677, allocations: 11.98 kB / 1.381 GB, free: 4.445 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.9679, allocations: 4 kB / 1.381 GB, free: 4.441 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.9679, allocations: 15.97 kB / 1.381 GB, free: 4.426 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.968, allocations: 8 kB / 1.381 GB, free: 4.418 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002632/0.9682, allocations: 227.2 kB / 1.381 GB, free: 4.199 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.9682, allocations: 0 / 1.381 GB, free: 4.199 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005246/0.9688, allocations: 151.6 kB / 1.381 GB, free: 4.051 MB / 1.057 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.0003559/0.9691, allocations: 186.9 kB / 1.381 GB, free: 3.859 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.9696, allocations: 191.7 kB / 1.382 GB, free: 3.672 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9696, allocations: 4 kB / 1.382 GB, free: 3.668 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.9698, allocations: 75.89 kB / 1.382 GB, free: 3.594 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.9705, allocations: 122.2 kB / 1.382 GB, free: 3.477 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.9715, allocations: 0.5754 MB / 1.382 GB, free: 2.863 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.9717, allocations: 193.2 kB / 1.383 GB, free: 2.656 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.9719, allocations: 78.81 kB / 1.383 GB, free: 2.578 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.972, allocations: 27.44 kB / 1.383 GB, free: 2.551 MB / 1.057 GB Notification: Performance of SimCode: time 4.01e-07/0.972, allocations: 0 / 1.383 GB, free: 2.551 MB / 1.057 GB Notification: Performance of Templates: time 0.01311/0.9851, allocations: 5.992 MB / 1.389 GB, free: 12.72 MB / 1.073 GB " [Timeout remaining time 299] 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.693390142172575]