Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.00145/0.00145, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001591/0.001591, allocations: 213.9 kB / 23.03 MB, free: 4.926 MB / 14.72 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.99/2.99, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 66.05 kB / 1.171 GB, free: 19.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3043, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003258/0.3076, allocations: 2.058 MB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3092, allocations: 1.016 MB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3093, allocations: 7.938 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.321e-05/0.3094, allocations: 27.66 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.3097, allocations: 75.3 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.3101, allocations: 203.8 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.3105, allocations: 294.8 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3106, allocations: 48.84 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3107, allocations: 103.6 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.311, allocations: 147.3 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.311, allocations: 20 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.3114, allocations: 303.6 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.3115, allocations: 47.78 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3116, allocations: 103.5 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.312, allocations: 338.5 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.312, allocations: 0 / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.312, allocations: 0 / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.312, allocations: 0 / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001027/0.313, allocations: 0.5632 MB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.313, allocations: 8.031 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.3131, allocations: 4.469 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.3131, allocations: 46.73 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.3133, allocations: 36.75 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.3137, allocations: 233.4 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3137, allocations: 12.22 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3137, allocations: 12 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.3142, allocations: 228.6 kB / 1.351 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3142, allocations: 4 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3142, allocations: 8 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3142, allocations: 0 / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/0.3149, allocations: 195.8 kB / 1.351 GB, free: 9.699 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.316, allocations: 0.8751 MB / 1.352 GB, free: 8.762 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/0.3167, allocations: 233.2 kB / 1.352 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.317, allocations: 109.9 kB / 1.352 GB, free: 8.402 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3171, allocations: 3.984 kB / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3171, allocations: 34.56 kB / 1.352 GB, free: 8.355 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.3171, allocations: 0 / 1.352 GB, free: 8.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.001116/0.3182, allocations: 333.2 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.3183, allocations: 89.09 kB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.3185, allocations: 264.2 kB / 1.353 GB, free: 7.652 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3186, allocations: 29.64 kB / 1.353 GB, free: 7.617 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3187, allocations: 168.3 kB / 1.353 GB, free: 7.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.3187, allocations: 55.53 kB / 1.353 GB, free: 7.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.3188, allocations: 45.59 kB / 1.353 GB, free: 7.344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3189, allocations: 342.8 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.3192, allocations: 87.92 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.3196, allocations: 147.1 kB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.3202, allocations: 249.7 kB / 1.354 GB, free: 6.484 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3202, allocations: 0 / 1.354 GB, free: 6.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008099/0.321, allocations: 289.2 kB / 1.354 GB, free: 6.195 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3211, allocations: 4 kB / 1.354 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3211, allocations: 4 kB / 1.354 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3211, allocations: 3.938 kB / 1.354 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.3214, allocations: 64.11 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3214, allocations: 7.984 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3216, allocations: 35.81 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3216, allocations: 12 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001142/0.3217, allocations: 137.7 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3218, allocations: 23.86 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/0.3226, allocations: 287.8 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3226, allocations: 4 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3226, allocations: 0 / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3226, allocations: 3.984 kB / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.323, allocations: 248.5 kB / 1.355 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.323, allocations: 0 / 1.355 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3232, allocations: 51.89 kB / 1.355 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.3232, allocations: 4 kB / 1.355 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3232, allocations: 4.281 kB / 1.355 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3232, allocations: 0 / 1.355 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3232, allocations: 7.984 kB / 1.355 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.324, allocations: 451.4 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.3241, allocations: 27.75 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.3241, allocations: 8 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.3244, allocations: 23.97 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.3244, allocations: 23.95 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3245, allocations: 8 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001796/0.3246, allocations: 191.1 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3246, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003346/0.325, allocations: 55.94 kB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 20 * 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.001175/0.3262, allocations: 0.9885 MB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006989/0.3269, allocations: 225.1 kB / 1.357 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3269, allocations: 0 / 1.357 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.3272, allocations: 115.8 kB / 1.357 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.3277, allocations: 73.5 kB / 1.357 GB, free: 3.039 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.3316, allocations: 2.708 MB / 1.36 GB, free: 216 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3318, allocations: 142.9 kB / 1.36 GB, free: 56 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.3319, allocations: 30.42 kB / 1.36 GB, free: 24 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.3321, allocations: 87.48 kB / 1.36 GB, free: 15.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3321, allocations: 4 kB / 1.36 GB, free: 15.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.36, allocations: 7.202 MB / 1.367 GB, free: 8.992 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.29, allocations: 4.062 kB / 1.367 GB, free: 8.988 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.42862833000254] Failed to read output from testmodel.py, exit status != 0: 11.440448151086457 11.455045928 11.140295559 Calling exit ...