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.001236/0.001236, allocations: 97.88 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.001342/0.001342, allocations: 215.4 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.989/2.989, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_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.001867/0.001867, allocations: 66.67 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003742/0.3198, allocations: 1.98 MB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3225, allocations: 1.511 MB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3226, allocations: 4 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.392e-05/0.3226, allocations: 15.8 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3228, allocations: 55.55 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.324, allocations: 358.8 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.3243, allocations: 223.1 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3244, allocations: 41.67 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.3246, allocations: 87.81 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3247, allocations: 87.62 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.3248, allocations: 20 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008575/0.3256, allocations: 419.5 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.3257, allocations: 43.83 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.635e-05/0.3258, allocations: 75.78 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.3264, allocations: 434.6 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3264, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3264, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3264, allocations: 4 kB / 1.35 GB, free: 10.62 MB / 1.045 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.0008112/0.3273, allocations: 453.2 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3273, allocations: 12.03 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.902e-05/0.3273, allocations: 4.422 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.3274, allocations: 50.73 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.3304, allocations: 328.3 kB / 1.351 GB, free: 9.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3306, allocations: 118.4 kB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/0.3307, allocations: 79.95 kB / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3307, allocations: 12.38 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.3322, allocations: 388.7 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3322, allocations: 0 / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.3323, allocations: 12 kB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3323, allocations: 4 kB / 1.352 GB, free: 9.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.3345, allocations: 367.5 kB / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.3362, allocations: 0.7871 MB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.3408, allocations: 0.6385 MB / 1.354 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.342, allocations: 200.9 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.3421, allocations: 19.98 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3421, allocations: 34.5 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.295e-06/0.3421, allocations: 0 / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.004367/0.3465, allocations: 0.715 MB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3465, allocations: 55.34 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3467, allocations: 164.2 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3467, allocations: 29.7 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.3468, allocations: 119.9 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.3469, allocations: 47.59 kB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.347, allocations: 49.67 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3472, allocations: 322.8 kB / 1.355 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3483, allocations: 199.8 kB / 1.355 GB, free: 5.254 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.3494, allocations: 209.6 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.3515, allocations: 352.6 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3515, allocations: 0 / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002745/0.3543, allocations: 0.4995 MB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3543, allocations: 8 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3543, allocations: 3.984 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.3549, allocations: 127.8 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.3565, allocations: 151.8 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008489/0.3573, allocations: 0.6304 MB / 1.357 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.358, allocations: 71.75 kB / 1.357 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.358, allocations: 15.92 kB / 1.357 GB, free: 3.168 MB / 1.045 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.0001716/0.3582, allocations: 125.8 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.3582, allocations: 15.89 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.3611, allocations: 0.5231 MB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3611, allocations: 4 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3611, allocations: 0 / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3611, allocations: 0 / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/0.3659, allocations: 0.9992 MB / 1.359 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3659, allocations: 0 / 1.359 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.3674, allocations: 143.9 kB / 1.359 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005192/0.368, allocations: 124.7 kB / 1.359 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.368, allocations: 15.92 kB / 1.359 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008142/0.3688, allocations: 0.6303 MB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3688, allocations: 288 / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.3715, allocations: 0.5695 MB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.3715, allocations: 11.94 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.3716, allocations: 0 / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.3722, allocations: 59.92 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.3723, allocations: 11.97 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.3723, allocations: 15.98 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.904e-05/0.3724, allocations: 116.5 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3724, allocations: 0 / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005339/0.3729, allocations: 135.6 kB / 1.361 GB, free: 15.55 MB / 1.061 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.003299/0.3762, allocations: 1.214 MB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002671/0.3789, allocations: 451.4 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3789, allocations: 0 / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.3804, allocations: 231.7 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.3808, allocations: 49.25 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/0.3907, allocations: 2.929 MB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3908, allocations: 98.8 kB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.3911, allocations: 47.98 kB / 1.366 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3913, allocations: 51.39 kB / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/0.3913, allocations: 0 / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.4238, allocations: 8.881 MB / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.77, allocations: 9.891 kB / 1.375 GB, free: 1.695 MB / 1.061 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 & /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.83536557701882] Failed to read output from testmodel.py, exit status != 0: 12.931858832016587 12.946538862 12.617277956 Calling exit ...