Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001873/0.001873, 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.002499/0.002499, allocations: 208.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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.801 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.74/2.74, allocations: 476 MB / 0.7699 GB, free: 4.742 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_ZeroInput,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.002141/0.002141, allocations: 67.19 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003891/0.2994, allocations: 1.988 MB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.3023, allocations: 1.53 MB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.3024, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.3025, allocations: 23.78 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3026, allocations: 47.56 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3037, allocations: 362.8 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.304, allocations: 215.2 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3042, allocations: 33.67 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.3043, allocations: 83.7 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3044, allocations: 75.73 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.3045, allocations: 24 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.3053, allocations: 407.5 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.3054, allocations: 47.78 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.3054, allocations: 75.77 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.3061, allocations: 436.3 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3061, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3061, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3061, allocations: 0 / 1.288 GB, free: 7.094 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.0008472/0.3069, allocations: 457.2 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.307, allocations: 8.031 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.3071, allocations: 50.73 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005571/0.3076, allocations: 96.67 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3077, allocations: 126.3 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3079, allocations: 75.95 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.3079, allocations: 16.31 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.3084, allocations: 245.1 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3084, allocations: 0 / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.3085, allocations: 8 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3085, allocations: 8 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.3088, allocations: 123.9 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.3103, allocations: 0.6527 MB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.3123, allocations: 322.2 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.3126, allocations: 72.83 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.313, allocations: 79.91 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3131, allocations: 30.56 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.3131, allocations: 0 / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001738/0.3148, allocations: 396.2 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3149, allocations: 59.41 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3151, allocations: 150.4 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.3151, allocations: 33.7 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.3152, allocations: 111.9 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.3153, allocations: 59.53 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.3154, allocations: 37.7 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3155, allocations: 326.8 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.3158, allocations: 79.95 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.316, allocations: 83.91 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.3164, allocations: 158.5 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3164, allocations: 4 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000913/0.3173, allocations: 284.5 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3173, allocations: 6.188 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3173, allocations: 7.938 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/0.3181, allocations: 127.9 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3193, allocations: 103.9 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.3203, allocations: 0.6342 MB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3205, allocations: 23.92 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3205, allocations: 4 kB / 1.293 GB, free: 1.863 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.0001626/0.3207, allocations: 133.8 kB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.3208, allocations: 23.78 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009762/0.3217, allocations: 279.3 kB / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3217, allocations: 3.984 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3217, allocations: 8 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3217, allocations: 0 / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.3236, allocations: 0.6655 MB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3236, allocations: 4 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.3248, allocations: 99.95 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.3254, allocations: 123.8 kB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3254, allocations: 0 / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009191/0.3263, allocations: 0.6382 MB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3263, allocations: 0 / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.3272, allocations: 369.8 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.3273, allocations: 11.91 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.3273, allocations: 8 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3276, allocations: 15.97 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.3276, allocations: 11.98 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3276, allocations: 4 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000105/0.3277, allocations: 126.6 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3277, allocations: 0 / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004989/0.3282, allocations: 131.5 kB / 1.295 GB, free: 15.11 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.001612/0.3298, allocations: 1.034 MB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009089/0.3307, allocations: 219.8 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3307, allocations: 0 / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.3313, allocations: 131.9 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.3318, allocations: 51.84 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.3358, allocations: 2.217 MB / 1.299 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.934e-05/0.3359, allocations: 94.94 kB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.336, allocations: 23.86 kB / 1.299 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.3361, allocations: 39.42 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/0.3361, allocations: 0 / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.372, allocations: 7.569 MB / 1.306 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.34, allocations: 8.734 kB / 1.306 GB, free: 3.824 MB / 0.9981 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.91241107834503] Failed to read output from testmodel.py, exit status != 0: 13.939447748940438 13.505737056 13.193600285 Calling exit ...