Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001479/0.001479, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001589/0.001589, allocations: 213.4 kB / 22.24 MB, free: 5.262 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.789 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.816/2.816, allocations: 476 MB / 0.7699 GB, free: 4.727 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.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",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.002091/0.002091, allocations: 69.12 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003402/0.315, allocations: 1.978 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.3176, allocations: 1.526 MB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.3177, allocations: 4 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.012e-05/0.3178, allocations: 19.78 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.3179, allocations: 51.55 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3191, allocations: 358.8 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.3193, allocations: 215.2 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3195, allocations: 33.66 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3196, allocations: 87.7 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3197, allocations: 75.73 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.3198, allocations: 16 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008331/0.3206, allocations: 411.5 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.3207, allocations: 51.83 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.3208, allocations: 67.78 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.3214, allocations: 442.2 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3214, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3214, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.3214, allocations: 0 / 1.288 GB, free: 7.102 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007959/0.3222, allocations: 453.2 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3223, allocations: 12.03 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.88e-05/0.3223, allocations: 58.67 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005723/0.3229, allocations: 92.67 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.323, allocations: 130.3 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.3231, allocations: 71.95 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.3232, allocations: 16.38 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.3236, allocations: 253.1 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3236, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.3237, allocations: 4 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3237, allocations: 4 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.324, allocations: 127.9 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.3254, allocations: 0.6488 MB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.3274, allocations: 326.2 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.3276, allocations: 76.81 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.3281, allocations: 67.92 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3281, allocations: 38.56 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3281, allocations: 0 / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001596/0.3297, allocations: 396.3 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3297, allocations: 51.41 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3299, allocations: 161.8 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3299, allocations: 25.7 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.33, allocations: 115.9 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.3301, allocations: 59.52 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.3301, allocations: 33.7 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3303, allocations: 330.8 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.3305, allocations: 87.89 kB / 1.291 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.3307, allocations: 86.14 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3311, allocations: 152.8 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3311, allocations: 0 / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008872/0.332, allocations: 288.4 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.332, allocations: 7.938 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.332, allocations: 0 / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005589/0.3326, allocations: 121.5 kB / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.3338, allocations: 104 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008844/0.3347, allocations: 0.6342 MB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3349, allocations: 23.92 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.3349, allocations: 4 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.335, allocations: 121.8 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.3351, allocations: 27.77 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008585/0.3359, allocations: 290.7 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3359, allocations: 4 kB / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3359, allocations: 0 / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3359, allocations: 0 / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.3377, allocations: 0.6794 MB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3377, allocations: 0 / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.3389, allocations: 104 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.3394, allocations: 124.7 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3394, allocations: 0 / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008515/0.3403, allocations: 0.6342 MB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3403, allocations: 3.938 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.3412, allocations: 361.9 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.3412, allocations: 19.89 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.3412, allocations: 4 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3414, allocations: 15.98 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3415, allocations: 15.91 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3415, allocations: 8 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3416, allocations: 123.2 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3416, allocations: 0 / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004737/0.3421, allocations: 131.5 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/0.3436, allocations: 1.019 MB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008908/0.3445, allocations: 222.7 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3445, allocations: 0 / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.3451, allocations: 131.2 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3455, allocations: 52.02 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.3492, allocations: 2.209 MB / 1.299 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.3493, allocations: 98.92 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.3494, allocations: 15.75 kB / 1.299 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.3495, allocations: 43.42 kB / 1.299 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3495, allocations: 0 / 1.299 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.3866, allocations: 7.565 MB / 1.306 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.24, allocations: 6.688 kB / 1.306 GB, free: 3.84 MB / 0.9981 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.980380441993475] Failed to read output from testmodel.py, exit status != 0: 13.875955555122346 13.401977402 13.074671966 Calling exit ...