Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001631/0.001631, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001964/0.001964, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_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.001896/0.001896, allocations: 64.95 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3397, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00364/0.3434, allocations: 2.064 MB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3453, allocations: 1.02 MB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.3454, allocations: 7.938 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.714e-05/0.3455, allocations: 23.67 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.3458, allocations: 87.28 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.3462, allocations: 195.5 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.3466, allocations: 290.8 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3468, allocations: 44.91 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3469, allocations: 111.6 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.3471, allocations: 147.3 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.3472, allocations: 16 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.3476, allocations: 295.6 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.3477, allocations: 51.78 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3478, allocations: 95.45 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.3482, allocations: 339.9 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3482, allocations: 4 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3482, allocations: 0 / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3482, allocations: 0 / 1.289 GB, free: 5.891 MB / 0.9825 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.001085/0.3493, allocations: 0.5554 MB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3494, allocations: 12.03 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.919e-05/0.3494, allocations: 4.469 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.3494, allocations: 50.73 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.3496, allocations: 40.73 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.35, allocations: 225.4 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3501, allocations: 12.66 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3501, allocations: 16.38 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.3506, allocations: 228.5 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3506, allocations: 4 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3506, allocations: 4 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3506, allocations: 4 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.3513, allocations: 203.8 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.3524, allocations: 0.8712 MB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.3532, allocations: 233.1 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3535, allocations: 105.9 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3536, allocations: 7.984 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3536, allocations: 30.56 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3536, allocations: 0 / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001114/0.3547, allocations: 337.2 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.3548, allocations: 81.11 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3551, allocations: 268.2 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.3551, allocations: 29.7 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3552, allocations: 168.2 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.3553, allocations: 55.48 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.3554, allocations: 41.7 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3555, allocations: 342.8 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.3558, allocations: 91.86 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3562, allocations: 141.9 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/0.3569, allocations: 237.7 kB / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3569, allocations: 4 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000837/0.3577, allocations: 297.2 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3577, allocations: 8 kB / 1.293 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3577, allocations: 0 / 1.293 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3578, allocations: 4 kB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.358, allocations: 59.89 kB / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3581, allocations: 4 kB / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.3583, allocations: 39.84 kB / 1.293 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3583, allocations: 8 kB / 1.293 GB, free: 0.8438 MB / 0.9825 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.0001586/0.3585, allocations: 142.8 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3586, allocations: 31.81 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008233/0.3594, allocations: 296 kB / 1.294 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3594, allocations: 0 / 1.294 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3594, allocations: 4 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3594, allocations: 0 / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.3598, allocations: 240.5 kB / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3598, allocations: 0 / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.3601, allocations: 59.88 kB / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3601, allocations: 0 / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3601, allocations: 12 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3601, allocations: 0 / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3601, allocations: 0 / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.361, allocations: 440.1 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.3611, allocations: 31.78 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.3611, allocations: 11.94 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3613, allocations: 27.97 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.3614, allocations: 15.97 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3614, allocations: 4 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002096/0.3616, allocations: 191.1 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3616, allocations: 7.938 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003723/0.362, allocations: 59.88 kB / 1.295 GB, free: 15.23 MB / 0.9981 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.001303/0.3633, allocations: 0.9908 MB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000717/0.364, allocations: 223.7 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.364, allocations: 0 / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.3644, allocations: 116.6 kB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.3649, allocations: 73 kB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.3692, allocations: 2.713 MB / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3693, allocations: 143.1 kB / 1.299 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.3695, allocations: 42.36 kB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3697, allocations: 87.41 kB / 1.299 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3697, allocations: 0 / 1.299 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3989, allocations: 7.192 MB / 1.306 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.63, allocations: 10.03 kB / 1.306 GB, free: 3.762 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.145515671931207] Failed to read output from testmodel.py, exit status != 0: 12.309598925057799 11.806582732 11.455131728 Calling exit ...