Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.628/2.628, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/0.9185, allocations: 168.7 MB / 1.272 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002348/0.9209, allocations: 1.31 MB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.922, allocations: 0.7451 MB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.922, allocations: 0.7188 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.922, allocations: 0.5625 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.9221, allocations: 5.422 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.9225, allocations: 95.25 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.9225, allocations: 17.38 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.9226, allocations: 3.297 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.9226, allocations: 3.312 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.9227, allocations: 10.48 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.9227, allocations: 5.062 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.923, allocations: 140 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.923, allocations: 12.92 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.923, allocations: 8.688 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.9232, allocations: 108.2 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.9232, allocations: 0 / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9233, allocations: 0 / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.9233, allocations: 0.9062 kB / 1.274 GB, free: 6.156 MB / 0.9981 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.0002989/0.9236, allocations: 336.6 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9236, allocations: 9.25 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.491e-05/0.9236, allocations: 35.81 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.9237, allocations: 2.703 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.9237, allocations: 166.1 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.9237, allocations: 5.125 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.9238, allocations: 2.5 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.9238, allocations: 37.44 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9239, allocations: 0 / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.9239, allocations: 0 / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.9239, allocations: 1 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/0.9239, allocations: 18.31 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.924, allocations: 155.6 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.9241, allocations: 26.23 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.9241, allocations: 13.88 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/0.9258, allocations: 0.6545 MB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.9258, allocations: 44.66 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.9258, allocations: 0 / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001581/0.926, allocations: 54.55 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.926, allocations: 56.47 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.155e-05/0.926, allocations: 94.81 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.926, allocations: 26.33 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.342e-05/0.926, allocations: 84.86 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.9261, allocations: 13.36 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.9261, allocations: 13.72 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.9261, allocations: 317 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.9262, allocations: 3.156 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.9262, allocations: 9.453 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.9262, allocations: 16.42 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9262, allocations: 3.938 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.428e-05/0.9263, allocations: 51.89 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.9263, allocations: 5.812 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9263, allocations: 0.75 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.9263, allocations: 0.7031 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.9264, allocations: 5.469 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9264, allocations: 0.8125 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.9264, allocations: 8.781 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9264, allocations: 1.781 kB / 1.276 GB, free: 4.07 MB / 0.9981 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 4.437e-05/0.9264, allocations: 108.3 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.9264, allocations: 4.875 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.9266, allocations: 60.31 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9266, allocations: 0 / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9266, allocations: 0.9375 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9266, allocations: 0 / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.555e-05/0.9266, allocations: 152.9 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9266, allocations: 0.6562 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.9267, allocations: 10.06 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9267, allocations: 0.7812 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.9267, allocations: 4.969 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.9267, allocations: 0 / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9267, allocations: 0.9375 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.054e-05/0.9267, allocations: 69.14 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.9268, allocations: 87.3 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.9268, allocations: 4.812 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.9268, allocations: 4.844 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.9268, allocations: 1.516 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.9268, allocations: 1.531 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.826e-05/0.9268, allocations: 82.23 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9268, allocations: 0 / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002282/0.927, allocations: 31.34 kB / 1.277 GB, free: 3.438 MB / 0.9981 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.0003667/0.9274, allocations: 0.6445 MB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.9275, allocations: 14.95 kB / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9275, allocations: 4 kB / 1.277 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.9275, allocations: 11.69 kB / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.9277, allocations: 11.67 kB / 1.277 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.928, allocations: 148.9 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.9281, allocations: 0.6748 MB / 1.278 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.9282, allocations: 4.547 kB / 1.278 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.9282, allocations: 13.28 kB / 1.278 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.9282, allocations: 0 / 1.278 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.952, allocations: 1.738 MB / 1.28 GB, free: 17.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.737, allocations: 5.859 kB / 1.28 GB, free: 17.54 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.406702095002402] Failed to read output from testmodel.py, exit status != 0: 8.802502335020108 8.816514643 7.890353516 Calling exit ...