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.0011/0.0011, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00125/0.00125, allocations: 181 kB / 23.35 MB, free: 1.137 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001596/0.001596, allocations: 253.6 kB / 260.5 MB, free: 12.69 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.7144/0.7144, allocations: 138.4 MB / 402.2 MB, free: 0.582 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 1.813e-06/1.813e-06, allocations: 0 / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/3.898e-05, allocations: 4.891 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0116/0.01164, allocations: 6.953 MB / 469.3 MB, free: 11.71 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005752/0.0174, allocations: 2.883 MB / 472.1 MB, free: 8.852 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.01814, allocations: 23.81 kB / 472.2 MB, free: 8.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.01863, allocations: 123 kB / 472.3 MB, free: 8.707 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.02042, allocations: 0.5335 MB / 472.8 MB, free: 8.176 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.02195, allocations: 0.4959 MB / 473.3 MB, free: 7.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.02377, allocations: 1.101 MB / 474.4 MB, free: 6.586 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.02437, allocations: 247.4 kB / 474.7 MB, free: 6.344 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.02558, allocations: 0.5688 MB / 475.2 MB, free: 5.777 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.02602, allocations: 200 kB / 475.4 MB, free: 5.582 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.02608, allocations: 16.97 kB / 475.4 MB, free: 5.566 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007845/0.02686, allocations: 367.2 kB / 475.8 MB, free: 5.207 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.02697, allocations: 67.69 kB / 475.9 MB, free: 5.141 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.02714, allocations: 116.4 kB / 476 MB, free: 5.027 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008321/0.02797, allocations: 462.3 kB / 476.4 MB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02798, allocations: 1.312 kB / 476.4 MB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02798, allocations: 0 / 476.4 MB, free: 4.574 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.02799, allocations: 0 / 476.4 MB, free: 4.574 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.0009747/0.02897, allocations: 0.5959 MB / 477 MB, free: 3.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.02901, allocations: 13.75 kB / 477 MB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.774e-05/0.02911, allocations: 36.91 kB / 477.1 MB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.0297, allocations: 343.6 kB / 477.4 MB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.02972, allocations: 13.52 kB / 477.4 MB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.02976, allocations: 23.94 kB / 477.4 MB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.03004, allocations: 158.9 kB / 477.6 MB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.03005, allocations: 5.625 kB / 477.6 MB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.03007, allocations: 7.938 kB / 477.6 MB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.03008, allocations: 4 kB / 477.6 MB, free: 3.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.03018, allocations: 44.23 kB / 477.7 MB, free: 3.285 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.0007779/0.03096, allocations: 382.3 kB / 478 MB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.03111, allocations: 113.2 kB / 478.1 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.03116, allocations: 28.98 kB / 478.2 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.03126, allocations: 12 kB / 478.2 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.03129, allocations: 35.12 kB / 478.2 MB, free: 2.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.03129, allocations: 0.9062 kB / 478.2 MB, free: 2.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002147/0.0315, allocations: 89.64 kB / 478.3 MB, free: 2.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.03154, allocations: 55.41 kB / 478.4 MB, free: 2.531 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.03178, allocations: 301 kB / 478.7 MB, free: 2.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.0318, allocations: 33.64 kB / 478.7 MB, free: 2.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.03189, allocations: 157.4 kB / 478.8 MB, free: 2.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.03193, allocations: 43.64 kB / 478.9 MB, free: 1.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.03199, allocations: 30.39 kB / 478.9 MB, free: 1.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.0321, allocations: 346.7 kB / 479.3 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.03214, allocations: 25.66 kB / 479.3 MB, free: 1.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.03226, allocations: 203.6 kB / 479.5 MB, free: 1.328 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.03235, allocations: 58.8 kB / 479.5 MB, free: 1.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.03235, allocations: 0.7188 kB / 479.5 MB, free: 1.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001543/0.0325, allocations: 96.17 kB / 479.6 MB, free: 1.164 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.03252, allocations: 4.531 kB / 479.6 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.03253, allocations: 4.25 kB / 479.6 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.03254, allocations: 0 / 479.6 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.03266, allocations: 23.98 kB / 479.7 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.03267, allocations: 0 / 479.7 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.03273, allocations: 19.88 kB / 479.7 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.03275, allocations: 11.92 kB / 479.7 MB, free: 1.105 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.044e-05/0.03282, allocations: 95.05 kB / 479.8 MB, free: 1.008 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.224e-05/0.0329, allocations: 206.5 kB / 480 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.219e-05/0.03295, allocations: 59.3 kB / 480 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.03295, allocations: 5.281 kB / 480 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 9.906e-05/0.03305, allocations: 95.23 kB / 480.1 MB, free: 0.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.03306, allocations: 4 kB / 480.1 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-06/0.03306, allocations: 0.5625 kB / 480.1 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.03307, allocations: 0 / 480.1 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.03312, allocations: 28.92 kB / 480.2 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.03312, allocations: 0 / 480.2 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.03317, allocations: 5.031 kB / 480.2 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.03318, allocations: 8 kB / 480.2 MB, free: 0.5391 MB / 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 7.647e-05/0.03325, allocations: 189.4 kB / 480.4 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.03329, allocations: 23.97 kB / 480.4 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.03346, allocations: 133.9 kB / 480.5 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.03347, allocations: 1.531 kB / 480.5 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.03347, allocations: 0 / 480.5 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.03347, allocations: 0 / 480.5 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.03385, allocations: 458 kB / 481 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.03385, allocations: 0 / 481 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.03391, allocations: 25.08 kB / 481 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.03391, allocations: 4 kB / 481 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.03392, allocations: 1 kB / 481 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.03392, allocations: 5.562 kB / 481 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.03392, allocations: 3.938 kB / 481 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.03408, allocations: 277.8 kB / 481.3 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.03413, allocations: 35.75 kB / 481.3 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.03415, allocations: 9.344 kB / 481.3 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.03421, allocations: 7.984 kB / 481.3 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.03424, allocations: 16.55 kB / 481.4 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.03425, allocations: 8.844 kB / 481.4 MB, free: 15.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.05e-05/0.03433, allocations: 120.7 kB / 481.5 MB, free: 15.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03433, allocations: 7.031 kB / 481.5 MB, free: 15.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.03463, allocations: 139.7 kB / 481.6 MB, free: 15.05 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.0002034/0.03483, allocations: 134.2 kB / 481.8 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.03497, allocations: 87.38 kB / 481.8 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.03497, allocations: 4 kB / 481.8 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.03502, allocations: 45.45 kB / 481.9 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.03557, allocations: 135.2 kB / 482 MB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.03668, allocations: 0.5492 MB / 482.6 MB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.03677, allocations: 96.61 kB / 482.7 MB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.03699, allocations: 56.22 kB / 482.7 MB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.03729, allocations: 155.9 kB / 482.9 MB, free: 13.76 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03729, allocations: 0 / 482.9 MB, free: 13.76 MB / 442.7 MB Notification: Performance of Templates: time 0.012/0.0493, allocations: 5.764 MB / 488.6 MB, free: 8.488 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.734374627005309]