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.00142/0.00142, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001604/0.001604, allocations: 210.9 kB / 22.24 MB, free: 5.117 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 179] 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 2.977/2.977, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.001902/0.001902, allocations: 62.64 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2906, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003138/0.2938, allocations: 1.985 MB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2962, allocations: 1.519 MB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.2962, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.698e-05/0.2963, allocations: 19.8 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.2964, allocations: 47.55 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.2973, allocations: 362.8 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.2975, allocations: 219.1 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.2977, allocations: 37.92 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2978, allocations: 83.78 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2979, allocations: 79.66 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.2979, allocations: 16 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007409/0.2987, allocations: 399.5 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.2987, allocations: 43.91 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.2988, allocations: 79.7 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.2994, allocations: 434.6 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2994, allocations: 3.938 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2994, allocations: 0 / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2994, allocations: 0 / 1.369 GB, free: 8.812 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.0007651/0.3002, allocations: 462.9 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3002, allocations: 8.031 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.3003, allocations: 54.73 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.3032, allocations: 320.4 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3033, allocations: 122.4 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.3034, allocations: 71.95 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.3034, allocations: 16.38 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3049, allocations: 392.9 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3049, allocations: 0 / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.3049, allocations: 7.984 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3049, allocations: 8 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.3071, allocations: 371.6 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.3087, allocations: 0.7716 MB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/0.3133, allocations: 0.6463 MB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.3145, allocations: 196.7 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3146, allocations: 20.2 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3146, allocations: 38.56 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.3146, allocations: 0 / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004313/0.3189, allocations: 0.711 MB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.319, allocations: 59.34 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3191, allocations: 159.3 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.3192, allocations: 25.7 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.3193, allocations: 119.9 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.3193, allocations: 47.59 kB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3194, allocations: 49.67 kB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3196, allocations: 330.8 kB / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.3207, allocations: 195.8 kB / 1.374 GB, free: 3.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3219, allocations: 207.7 kB / 1.374 GB, free: 3.246 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.324, allocations: 354 kB / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.324, allocations: 3.984 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002729/0.3267, allocations: 0.5082 MB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3267, allocations: 4 kB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3267, allocations: 0 / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.3273, allocations: 123.1 kB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.329, allocations: 155.9 kB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/0.3298, allocations: 0.6341 MB / 1.375 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.3305, allocations: 63.86 kB / 1.376 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.3305, allocations: 11.98 kB / 1.376 GB, free: 1.367 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.0001576/0.3307, allocations: 126.5 kB / 1.376 GB, free: 1.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.3307, allocations: 19.84 kB / 1.376 GB, free: 1.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.3335, allocations: 0.5252 MB / 1.376 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3335, allocations: 0 / 1.376 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3335, allocations: 0 / 1.376 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3335, allocations: 0 / 1.376 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.3383, allocations: 1.003 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3383, allocations: 0 / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.3399, allocations: 147.9 kB / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/0.3405, allocations: 124.7 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.3405, allocations: 7.984 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008712/0.3414, allocations: 0.6264 MB / 1.378 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3414, allocations: 0 / 1.378 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.3441, allocations: 0.5664 MB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.3441, allocations: 15.84 kB / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.3442, allocations: 8 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.3449, allocations: 55.91 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3449, allocations: 19.98 kB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.3449, allocations: 7.984 kB / 1.379 GB, free: 13.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.938e-05/0.345, allocations: 120.9 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.345, allocations: 0 / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004794/0.3455, allocations: 127.6 kB / 1.379 GB, free: 13.75 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.003312/0.3488, allocations: 1.206 MB / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.3516, allocations: 453.9 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3516, allocations: 4 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.353, allocations: 243.8 kB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3535, allocations: 58.25 kB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009814/0.3633, allocations: 2.935 MB / 1.384 GB, free: 8.742 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3634, allocations: 102.8 kB / 1.384 GB, free: 8.621 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002699/0.3637, allocations: 47.86 kB / 1.384 GB, free: 8.574 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3638, allocations: 51.39 kB / 1.384 GB, free: 8.523 MB / 1.076 GB Notification: Performance of SimCode: time 7.81e-07/0.3638, allocations: 0 / 1.384 GB, free: 8.523 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.4036, allocations: 9.206 MB / 1.393 GB, free: 15.54 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 6.688 kB / 1.393 GB, free: 15.54 MB / 1.092 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 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.167146541178226] Failed to read output from testmodel.py, exit status != 0: 12.302901291754097 12.317246312 12.015081632 Calling exit ...