Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001421/0.001421, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.001709/0.001709, allocations: 218 kB / 22.25 MB, free: 5.266 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.062/3.062, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_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.001969/0.001969, allocations: 75.23 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3432, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003535/0.3467, allocations: 1.987 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.3493, allocations: 1.53 MB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.3494, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.36e-05/0.3495, allocations: 11.86 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.3496, allocations: 51.55 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3508, allocations: 368.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.3511, allocations: 223.1 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3512, allocations: 33.89 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3513, allocations: 91.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3515, allocations: 83.73 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3515, allocations: 16 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008307/0.3523, allocations: 423.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.3524, allocations: 47.84 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.3525, allocations: 71.78 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.3531, allocations: 438.6 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3531, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3531, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.3531, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 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.0007822/0.3539, allocations: 449.2 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.354, allocations: 16.03 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.129e-05/0.354, allocations: 54.67 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.3545, allocations: 84.75 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3547, allocations: 134.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.965e-05/0.3548, allocations: 71.97 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.3548, allocations: 16.38 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.3553, allocations: 253.1 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3553, allocations: 3.984 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3553, allocations: 4 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3553, allocations: 7.984 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.3556, allocations: 123.9 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.357, allocations: 0.6413 MB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3589, allocations: 326.2 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.3591, allocations: 76.81 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/0.3595, allocations: 67.92 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3595, allocations: 38.56 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3595, allocations: 4 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001589/0.3611, allocations: 390.2 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3612, allocations: 51.41 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3613, allocations: 156.7 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3614, allocations: 29.69 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.3614, allocations: 119.9 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.3615, allocations: 59.52 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.3616, allocations: 33.7 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3617, allocations: 330.8 kB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3619, allocations: 87.91 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3622, allocations: 79.95 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.3626, allocations: 154.5 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3626, allocations: 0 / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008782/0.3634, allocations: 292 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3635, allocations: 4 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3635, allocations: 0 / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.364, allocations: 122.2 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3652, allocations: 111.9 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008545/0.3661, allocations: 0.6303 MB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.3662, allocations: 23.92 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3662, allocations: 7.984 kB / 1.336 GB, free: 6.922 MB / 1.029 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.0001312/0.3664, allocations: 129.7 kB / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.3664, allocations: 19.84 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000858/0.3673, allocations: 286.3 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3673, allocations: 4 kB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3673, allocations: 0 / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3673, allocations: 0 / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.3691, allocations: 0.6796 MB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3691, allocations: 3.938 kB / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.3702, allocations: 95.97 kB / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.3707, allocations: 131.7 kB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3707, allocations: 0 / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008004/0.3715, allocations: 0.6303 MB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3715, allocations: 0 / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.3724, allocations: 373.7 kB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.3724, allocations: 15.89 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.3724, allocations: 0 / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3726, allocations: 19.98 kB / 1.338 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3727, allocations: 11.97 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3727, allocations: 4 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.3728, allocations: 125.2 kB / 1.338 GB, free: 4.285 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3728, allocations: 0 / 1.338 GB, free: 4.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004717/0.3733, allocations: 131.6 kB / 1.338 GB, free: 4.156 MB / 1.029 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.001526/0.3748, allocations: 1.036 MB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008383/0.3756, allocations: 211.8 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3756, allocations: 0 / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.3762, allocations: 127.8 kB / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3766, allocations: 52.02 kB / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.3801, allocations: 2.204 MB / 1.342 GB, free: 408 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.3802, allocations: 102.9 kB / 1.342 GB, free: 284 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.821e-05/0.3803, allocations: 29.05 kB / 1.342 GB, free: 260 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.3804, allocations: 39.42 kB / 1.342 GB, free: 220 kB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3804, allocations: 0 / 1.342 GB, free: 220 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.4162, allocations: 7.633 MB / 1.35 GB, free: 8.805 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.66, allocations: 0 / 1.35 GB, free: 8.805 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.16864952602191] Failed to read output from testmodel.py, exit status != 0: 12.776230935007334 12.797112596 12.439500177 Calling exit ...