Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001251/0.001251, 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.001489/0.001489, allocations: 213.5 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.781 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 3/3, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_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.002132/0.002132, allocations: 63.44 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3165, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003297/0.3198, allocations: 1.988 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3223, allocations: 1.503 MB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.3223, allocations: 4 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.581e-05/0.3224, allocations: 19.78 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3225, allocations: 51.55 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3235, allocations: 362.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.3238, allocations: 219.1 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3239, allocations: 41.88 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3241, allocations: 75.78 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3242, allocations: 87.66 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.3242, allocations: 16 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008094/0.325, allocations: 403.5 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.3251, allocations: 39.91 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.3252, allocations: 79.72 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.3258, allocations: 430.6 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3259, allocations: 0 / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3259, allocations: 0 / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3259, allocations: 0 / 1.369 GB, free: 8.746 MB / 1.061 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.0008591/0.3267, allocations: 458.7 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3268, allocations: 15.97 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.3268, allocations: 50.73 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/0.3298, allocations: 324.4 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3299, allocations: 118.4 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.682e-05/0.33, allocations: 75.95 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.33, allocations: 12.38 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3315, allocations: 392.9 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3315, allocations: 4 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.3316, allocations: 8 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3316, allocations: 4 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.3337, allocations: 367.6 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.3354, allocations: 0.7755 MB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/0.3399, allocations: 0.6463 MB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.341, allocations: 208.9 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.671e-05/0.3411, allocations: 12 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3411, allocations: 38.48 kB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.3411, allocations: 0 / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004281/0.3454, allocations: 0.7167 MB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3454, allocations: 59.34 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3456, allocations: 151.5 kB / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3456, allocations: 33.69 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.3457, allocations: 119.9 kB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.3458, allocations: 51.58 kB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3459, allocations: 45.69 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.346, allocations: 330.8 kB / 1.373 GB, free: 3.566 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.3471, allocations: 203.8 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.3483, allocations: 203.8 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.3503, allocations: 358 kB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3504, allocations: 0 / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002656/0.353, allocations: 0.5005 MB / 1.375 GB, free: 2.309 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.353, allocations: 8 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.353, allocations: 0 / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.3536, allocations: 124.7 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.3553, allocations: 147.9 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009069/0.3562, allocations: 0.6381 MB / 1.375 GB, free: 1.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.3568, allocations: 59.83 kB / 1.376 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.3568, allocations: 11.98 kB / 1.376 GB, free: 1.297 MB / 1.061 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.0001502/0.357, allocations: 121.8 kB / 1.376 GB, free: 1.168 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.357, allocations: 31.77 kB / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.3599, allocations: 0.5197 MB / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3599, allocations: 0 / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3599, allocations: 0 / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3599, allocations: 3.984 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.3646, allocations: 1.002 MB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3646, allocations: 4 kB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.3662, allocations: 143.9 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/0.3667, allocations: 128.6 kB / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.3667, allocations: 11.98 kB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/0.3675, allocations: 0.6264 MB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.3675, allocations: 4 kB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.3701, allocations: 0.56 MB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.3702, allocations: 15.89 kB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.3702, allocations: 4 kB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006707/0.3709, allocations: 55.92 kB / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3709, allocations: 7.984 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.371, allocations: 19.98 kB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001027/0.3711, allocations: 120.9 kB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3711, allocations: 0 / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004841/0.3715, allocations: 127.6 kB / 1.379 GB, free: 13.68 MB / 1.076 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.003289/0.3748, allocations: 1.206 MB / 1.38 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002702/0.3775, allocations: 451.4 kB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3775, allocations: 0 / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.379, allocations: 236.1 kB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.3794, allocations: 57.94 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/0.3891, allocations: 2.945 MB / 1.384 GB, free: 8.672 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.518e-05/0.3892, allocations: 102.8 kB / 1.384 GB, free: 8.551 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.3895, allocations: 47.86 kB / 1.384 GB, free: 8.504 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3897, allocations: 51.41 kB / 1.384 GB, free: 8.453 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.3897, allocations: 0 / 1.384 GB, free: 8.453 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.4269, allocations: 9.21 MB / 1.393 GB, free: 15.47 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.44, allocations: 5.625 kB / 1.393 GB, free: 15.47 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.581480274908245] Failed to read output from testmodel.py, exit status != 0: 12.550087115261704 12.56493636 12.236132745 Calling exit ...