Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.0008714/0.0008714, allocations: 80.55 kB / 19.96 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.0008301/0.0008301, allocations: 177.2 kB / 23.24 MB, free: 1.324 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.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.827/1.827, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.602e-05, allocations: 6.078 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001531/0.001547, allocations: 1.306 MB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.002424, allocations: 0.7218 MB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.002446, allocations: 7.938 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.002462, allocations: 3.938 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.002514, allocations: 7.938 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.002812, allocations: 91.89 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.002872, allocations: 23.81 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.002911, allocations: 0 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.002945, allocations: 11.97 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.002994, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.003008, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.003228, allocations: 140.1 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.003243, allocations: 7.984 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.003261, allocations: 11.98 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.003436, allocations: 127.6 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003437, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003438, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003442, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003134/0.003755, allocations: 262.3 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.003797, allocations: 9.344 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.003829, allocations: 34.73 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.003852, allocations: 8.891 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.003925, allocations: 109.8 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.003934, allocations: 384 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.003941, allocations: 384 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.941e-05/0.004021, allocations: 45.56 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004028, allocations: 0 / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.004035, allocations: 0 / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004039, allocations: 0 / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.004073, allocations: 11.98 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.00422, allocations: 124.8 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.004292, allocations: 26.61 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.004314, allocations: 16.92 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008599/0.005174, allocations: 376.5 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.005191, allocations: 38.5 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.005192, allocations: 0 / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001264/0.005318, allocations: 49.69 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.005344, allocations: 51.41 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.005391, allocations: 97.84 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.005401, allocations: 29.64 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.096e-05/0.005422, allocations: 84.14 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.005443, allocations: 3.953 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.005466, allocations: 13.72 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.005602, allocations: 318.9 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.005616, allocations: 11.98 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.005626, allocations: 7.938 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.005653, allocations: 16.86 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005655, allocations: 0 / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.745e-05/0.005702, allocations: 53.58 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005713, allocations: 4 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.005718, allocations: 0 / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.005728, allocations: 0 / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.014e-05/0.005769, allocations: 8 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.005773, allocations: 4 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/0.005783, allocations: 4.328 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.005787, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.547e-05/0.005843, allocations: 117.8 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-06/0.005847, allocations: 3.938 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.005936, allocations: 57.36 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.005938, allocations: 0 / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.005942, allocations: 0 / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.005945, allocations: 0 / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.509e-05/0.00601, allocations: 124.8 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00601, allocations: 4 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.006022, allocations: 11.94 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006024, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.006029, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006029, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.00603, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.298e-05/0.006083, allocations: 73.06 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.006089, allocations: 7.891 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-06/0.006096, allocations: 0 / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-06/0.006102, allocations: 0 / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.006117, allocations: 7.984 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.006118, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.00614, allocations: 91.16 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00614, allocations: 4 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001527/0.006293, allocations: 27.88 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003098/0.006602, allocations: 0.6357 MB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.236e-05/0.006665, allocations: 12.09 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006666, allocations: 4 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-06/0.006675, allocations: 11.98 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.006817, allocations: 11.98 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.007101, allocations: 138.4 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.007267, allocations: 63.28 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.007285, allocations: 4 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.007308, allocations: 12.5 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.007308, allocations: 0 / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07692/0.08423, allocations: 2.423 MB / 1.009 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.428, allocations: 4.719 kB / 1.009 GB, free: 5.199 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.876795147545636]