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.001485/0.001485, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001626/0.001626, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 2.944/2.944, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",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.001856/0.001856, allocations: 65.3 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3294, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003615/0.333, allocations: 1.981 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3355, allocations: 1.515 MB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.3356, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.265e-05/0.3357, allocations: 23.78 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3358, allocations: 51.56 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.337, allocations: 358.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.3372, allocations: 231 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.3374, allocations: 37.89 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.3375, allocations: 79.84 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3377, allocations: 95.66 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.3377, allocations: 20 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008339/0.3386, allocations: 423.5 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.3386, allocations: 43.83 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.3387, allocations: 71.78 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.3394, allocations: 434.6 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3394, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3394, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3394, allocations: 4 kB / 1.332 GB, free: 12.18 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.000816/0.3402, allocations: 458.9 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3402, allocations: 8.031 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.251e-05/0.3402, allocations: 4.422 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.3403, allocations: 50.73 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005418/0.3408, allocations: 92.73 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.341, allocations: 134.2 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.3411, allocations: 75.95 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.3411, allocations: 16.38 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.3416, allocations: 249 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3416, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.3416, allocations: 4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3416, allocations: 4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3419, allocations: 135.9 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.3434, allocations: 0.6373 MB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3453, allocations: 326.2 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3455, allocations: 76.83 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/0.3459, allocations: 71.91 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3459, allocations: 38.56 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.3459, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001579/0.3475, allocations: 386.9 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3476, allocations: 55.41 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3477, allocations: 155.7 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.3477, allocations: 33.7 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.3478, allocations: 123.9 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.3479, allocations: 51.52 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.348, allocations: 45.64 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3481, allocations: 318.8 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.3483, allocations: 79.95 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.3485, allocations: 91.91 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.3489, allocations: 150 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3489, allocations: 4 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008778/0.3498, allocations: 295.6 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3498, allocations: 9.875 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3498, allocations: 0 / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/0.3504, allocations: 126.5 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.3515, allocations: 103.9 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008229/0.3523, allocations: 0.6265 MB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3525, allocations: 23.86 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3525, allocations: 15.98 kB / 1.337 GB, free: 6.934 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.0001283/0.3526, allocations: 122 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.3527, allocations: 19.83 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000849/0.3535, allocations: 293.5 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3535, allocations: 0 / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3535, allocations: 0 / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3536, allocations: 3.984 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3553, allocations: 0.6716 MB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3553, allocations: 0 / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.3563, allocations: 96.02 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.3568, allocations: 124.1 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3568, allocations: 11.94 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008043/0.3577, allocations: 0.6342 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3577, allocations: 0 / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.3585, allocations: 367.6 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.3585, allocations: 11.91 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3586, allocations: 8 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.3588, allocations: 15.97 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3588, allocations: 11.98 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3589, allocations: 4 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.947e-05/0.3589, allocations: 124.9 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3589, allocations: 0 / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004517/0.3594, allocations: 131.5 kB / 1.339 GB, free: 4.18 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.001524/0.3609, allocations: 1.029 MB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008555/0.3618, allocations: 223.7 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3618, allocations: 0 / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.3623, allocations: 127.9 kB / 1.341 GB, free: 2.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3628, allocations: 45.45 kB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.3663, allocations: 2.213 MB / 1.343 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.191e-05/0.3664, allocations: 98.94 kB / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.3665, allocations: 28.11 kB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.3666, allocations: 43.42 kB / 1.343 GB, free: 244 kB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3666, allocations: 0 / 1.343 GB, free: 244 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.3955, allocations: 7.243 MB / 1.35 GB, free: 9.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.98, allocations: 4.312 kB / 1.35 GB, free: 9.227 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 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.062787230941467] Failed to read output from testmodel.py, exit status != 0: 13.14382667792961 13.159639214 12.817287341 Calling exit ...