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.0009882/0.0009882, allocations: 76.81 kB / 21.55 MB, free: 2.941 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.001/0.001, allocations: 166.2 kB / 24.96 MB, free: 9.191 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 0.925/0.925, allocations: 177.1 MB / 205.4 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.9/1.9, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] 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.295e-06/2.295e-06, allocations: 1.094 kB / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.919e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.009611/0.009641, allocations: 7.03 MB / 0.7828 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004975/0.01462, allocations: 2.866 MB / 0.7856 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004852/0.0151, allocations: 33.53 kB / 0.7856 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.01555, allocations: 119 kB / 0.7858 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.01696, allocations: 0.533 MB / 0.7863 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.0182, allocations: 484.9 kB / 0.7867 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.01971, allocations: 1.069 MB / 0.7878 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.02014, allocations: 227.2 kB / 0.788 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009619/0.0211, allocations: 0.5562 MB / 0.7885 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.02142, allocations: 185.8 kB / 0.7887 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.02147, allocations: 19.98 kB / 0.7887 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007336/0.0222, allocations: 379.2 kB / 0.7891 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.02229, allocations: 67.62 kB / 0.7892 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.02245, allocations: 107.7 kB / 0.7893 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007078/0.02315, allocations: 458.3 kB / 0.7897 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.02316, allocations: 0 / 0.7897 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.02316, allocations: 6.938 kB / 0.7897 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.02317, allocations: 0 / 0.7897 GB, free: 7.328 MB / 0.7448 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.0008169/0.02398, allocations: 0.6115 MB / 0.7903 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.02402, allocations: 13.34 kB / 0.7903 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.0241, allocations: 40.89 kB / 0.7904 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.02467, allocations: 349.4 kB / 0.7907 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.02469, allocations: 16.7 kB / 0.7907 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.02471, allocations: 19.94 kB / 0.7907 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.02498, allocations: 160.4 kB / 0.7909 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.02499, allocations: 0 / 0.7909 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.02501, allocations: 15.98 kB / 0.7909 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.02502, allocations: 7.031 kB / 0.7909 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.02511, allocations: 35.92 kB / 0.7909 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.02582, allocations: 381 kB / 0.7913 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.02595, allocations: 106.7 kB / 0.7914 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.026, allocations: 31.69 kB / 0.7914 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.0261, allocations: 21.27 kB / 0.7915 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.02613, allocations: 34.5 kB / 0.7915 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.02613, allocations: 0 / 0.7915 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002165/0.02634, allocations: 93.58 kB / 0.7916 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.02638, allocations: 56.06 kB / 0.7916 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.02662, allocations: 307.4 kB / 0.7919 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.02665, allocations: 34.33 kB / 0.792 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.02674, allocations: 158 kB / 0.7921 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.02678, allocations: 39.62 kB / 0.7921 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.02684, allocations: 38.3 kB / 0.7922 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.02698, allocations: 346.7 kB / 0.7925 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.02702, allocations: 21.33 kB / 0.7925 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.02715, allocations: 214.4 kB / 0.7927 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.02724, allocations: 50.17 kB / 0.7928 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02724, allocations: 0 / 0.7928 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/0.02739, allocations: 92.31 kB / 0.7929 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.0274, allocations: 8 kB / 0.7929 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.02741, allocations: 0 / 0.7929 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.02742, allocations: 1.719 kB / 0.7929 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.02754, allocations: 31.91 kB / 0.7929 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.02755, allocations: 0 / 0.7929 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.02763, allocations: 4 kB / 0.7929 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.02765, allocations: 8.562 kB / 0.7929 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.295e-05/0.02773, allocations: 101.8 kB / 0.793 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000101/0.02783, allocations: 204.5 kB / 0.7932 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.591e-05/0.0279, allocations: 55.28 kB / 0.7933 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.0279, allocations: 0 / 0.7933 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0001246/0.02803, allocations: 91.33 kB / 0.7934 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.02803, allocations: 4 kB / 0.7934 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.02804, allocations: 5.172 kB / 0.7934 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-06/0.02804, allocations: 0 / 0.7934 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.02812, allocations: 23.98 kB / 0.7934 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.02812, allocations: 0.8125 kB / 0.7934 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.02821, allocations: 23.88 kB / 0.7934 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.02822, allocations: 5.031 kB / 0.7934 GB, free: 3.25 MB / 0.7448 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.0001017/0.02832, allocations: 192.1 kB / 0.7936 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.02837, allocations: 24.91 kB / 0.7936 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.02861, allocations: 125.5 kB / 0.7937 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.02862, allocations: 4.594 kB / 0.7937 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.02862, allocations: 0 / 0.7937 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.02863, allocations: 1 kB / 0.7937 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.02914, allocations: 466.1 kB / 0.7942 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.02915, allocations: 4 kB / 0.7942 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.092e-05/0.02924, allocations: 20.58 kB / 0.7942 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.02924, allocations: 4 kB / 0.7942 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.02925, allocations: 1.125 kB / 0.7942 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.02926, allocations: 11.94 kB / 0.7942 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.02926, allocations: 4.844 kB / 0.7942 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.02949, allocations: 261.3 kB / 0.7945 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.02957, allocations: 48.69 kB / 0.7945 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.0296, allocations: 0 / 0.7945 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.02972, allocations: 11.98 kB / 0.7945 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.02976, allocations: 17.58 kB / 0.7946 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.02978, allocations: 8 kB / 0.7946 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001283/0.02991, allocations: 124.7 kB / 0.7947 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02991, allocations: 0 / 0.7947 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004296/0.03034, allocations: 148.2 kB / 0.7948 GB, free: 1.727 MB / 0.7448 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.0002469/0.03059, allocations: 130.2 kB / 0.7949 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.03075, allocations: 103.5 kB / 0.795 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.03076, allocations: 4 kB / 0.7951 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.03081, allocations: 42.78 kB / 0.7951 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.03117, allocations: 121.9 kB / 0.7952 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007678/0.03193, allocations: 0.557 MB / 0.7958 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.03199, allocations: 104.5 kB / 0.7959 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.03211, allocations: 52.56 kB / 0.7959 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.03231, allocations: 152.1 kB / 0.796 GB, free: 424 kB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.03231, allocations: 0 / 0.796 GB, free: 424 kB / 0.7448 GB Notification: Performance of Templates: time 0.007559/0.03987, allocations: 5.585 MB / 0.8015 GB, free: 11.05 MB / 0.7605 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: 5.073427957482636]