Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001586/0.001586, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.00728/0.00728, allocations: 165 kB / 23.8 MB, free: 0.7734 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.091/1.091, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6656/0.6656, allocations: 114.9 MB / 375.7 MB, free: 7.668 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 4.703 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.241e-05, allocations: 4.984 kB / 481.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.006826/0.006858, allocations: 7.126 MB / 488.6 MB, free: 7.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.01211, allocations: 3.809 MB / 492.4 MB, free: 4.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009193/0.01303, allocations: 34.25 kB / 492.5 MB, free: 4.527 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.01368, allocations: 126.1 kB / 492.6 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.01548, allocations: 0.5571 MB / 493.1 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.01758, allocations: 0.8195 MB / 494 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.01936, allocations: 1.165 MB / 495.1 MB, free: 3.234 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.01993, allocations: 266.2 kB / 495.4 MB, free: 3.074 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.0211, allocations: 0.5991 MB / 496 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.02159, allocations: 217.2 kB / 496.2 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.02164, allocations: 19.06 kB / 496.2 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008696/0.02251, allocations: 380.2 kB / 496.6 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.02264, allocations: 78.19 kB / 496.7 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.02283, allocations: 128.1 kB / 496.8 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.02375, allocations: 0.4898 MB / 497.3 MB, free: 2.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.02376, allocations: 2.578 kB / 497.3 MB, free: 2.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.02376, allocations: 0.6875 kB / 497.3 MB, free: 2.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.02378, allocations: 1.406 kB / 497.3 MB, free: 2.41 MB / 410.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.001236/0.02501, allocations: 0.7964 MB / 498.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.02507, allocations: 9.344 kB / 498.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.02521, allocations: 66.8 kB / 498.2 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.02593, allocations: 450 kB / 498.6 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.02595, allocations: 14.7 kB / 498.6 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.02598, allocations: 26.16 kB / 498.6 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.02624, allocations: 170.1 kB / 498.8 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.02625, allocations: 2.5 kB / 498.8 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.02627, allocations: 5.344 kB / 498.8 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.02628, allocations: 3.594 kB / 498.8 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.02638, allocations: 54.12 kB / 498.9 MB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008843/0.02726, allocations: 0.626 MB / 499.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.02742, allocations: 89.41 kB / 499.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.02748, allocations: 35.75 kB / 499.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.02761, allocations: 18.05 kB / 499.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.02763, allocations: 34.83 kB / 499.7 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/0.02763, allocations: 0 / 499.7 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003231/0.02796, allocations: 149.1 kB / 499.8 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.02798, allocations: 57.56 kB / 499.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.0283, allocations: 432.6 kB / 0.4886 GB, free: 400 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.02833, allocations: 37.52 kB / 0.4886 GB, free: 360 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.02845, allocations: 263 kB / 0.4889 GB, free: 128 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.02849, allocations: 42.66 kB / 0.4889 GB, free: 92 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.02858, allocations: 72.55 kB / 0.489 GB, free: 44 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.02879, allocations: 0.518 MB / 0.4895 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.02887, allocations: 39.27 kB / 0.4895 GB, free: 15.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.02914, allocations: 391.2 kB / 0.4899 GB, free: 15.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.02944, allocations: 267 kB / 0.4901 GB, free: 14.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.02945, allocations: 2.219 kB / 0.4901 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004106/0.02986, allocations: 247.8 kB / 0.4904 GB, free: 14.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.02989, allocations: 10.78 kB / 0.4904 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.0299, allocations: 9.188 kB / 0.4904 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.02993, allocations: 6.688 kB / 0.4904 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.03013, allocations: 57.33 kB / 0.4905 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.03014, allocations: 8.609 kB / 0.4905 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.03031, allocations: 33.56 kB / 0.4905 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.03035, allocations: 13.81 kB / 0.4905 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001421/0.03049, allocations: 161.7 kB / 0.4907 GB, free: 14.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002633/0.03075, allocations: 394.2 kB / 0.491 GB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000251/0.03101, allocations: 263.7 kB / 0.4913 GB, free: 13.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.03101, allocations: 4.844 kB / 0.4913 GB, free: 13.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0004032/0.03141, allocations: 238 kB / 0.4915 GB, free: 13.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.03143, allocations: 9.719 kB / 0.4915 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.03144, allocations: 5.438 kB / 0.4915 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.03145, allocations: 9.938 kB / 0.4915 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.03162, allocations: 62.94 kB / 0.4916 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.03163, allocations: 8.188 kB / 0.4916 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.03177, allocations: 23.62 kB / 0.4916 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.03179, allocations: 13.02 kB / 0.4916 GB, free: 13.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (30): * Single equations (assignments): 30 * 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.0001768/0.03197, allocations: 285.9 kB / 0.4919 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.03203, allocations: 47.88 kB / 0.492 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.0324, allocations: 159.1 kB / 0.4921 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.03242, allocations: 4.812 kB / 0.4921 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.03242, allocations: 1.062 kB / 0.4921 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.03243, allocations: 0.5156 kB / 0.4921 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/0.03319, allocations: 0.5457 MB / 0.4927 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.03319, allocations: 1.375 kB / 0.4927 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.03327, allocations: 26.86 kB / 0.4927 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.03327, allocations: 5.344 kB / 0.4927 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.03329, allocations: 2.125 kB / 0.4927 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.03329, allocations: 6.062 kB / 0.4927 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.03329, allocations: 1.219 kB / 0.4927 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.03355, allocations: 317.2 kB / 0.493 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.03365, allocations: 64.58 kB / 0.4931 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.03368, allocations: 2.469 kB / 0.4931 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.03377, allocations: 9.156 kB / 0.4931 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.03382, allocations: 10.91 kB / 0.4931 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.03384, allocations: 8.562 kB / 0.4931 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.03407, allocations: 279.1 kB / 0.4934 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03407, allocations: 1.375 kB / 0.4934 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.03467, allocations: 158.2 kB / 0.4935 GB, free: 12.27 MB / 426.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.0003162/0.03499, allocations: 153.3 kB / 0.4937 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.0354, allocations: 214 kB / 0.4939 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.0354, allocations: 0.5 kB / 0.4939 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.03549, allocations: 50.58 kB / 0.4939 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.03603, allocations: 144.2 kB / 0.494 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.03734, allocations: 0.6309 MB / 0.4947 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.187e-05/0.03743, allocations: 109.6 kB / 0.4948 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.03767, allocations: 78.81 kB / 0.4948 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.03773, allocations: 33.27 kB / 0.4949 GB, free: 11.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.03773, allocations: 0 / 0.4949 GB, free: 11.51 MB / 426.7 MB Notification: Performance of Templates: time 0.0105/0.04823, allocations: 5.443 MB / 0.5002 GB, free: 8.832 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.171319206710905]