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.001276/0.001276, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001429/0.001429, allocations: 222.5 kB / 23.03 MB, free: 4.945 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.644/2.644, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001944/0.001944, allocations: 61.02 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2804, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003235/0.2836, allocations: 1.986 MB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.2861, allocations: 1.521 MB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.2861, allocations: 4 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.19e-05/0.2862, allocations: 23.78 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2863, allocations: 47.56 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.2874, allocations: 358.8 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2876, allocations: 219.2 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2878, allocations: 37.66 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2879, allocations: 87.72 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.288, allocations: 91.66 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.2881, allocations: 20 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.2888, allocations: 423.5 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.2889, allocations: 39.89 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.289, allocations: 71.72 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.2896, allocations: 442.2 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2896, allocations: 0 / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2896, allocations: 3.938 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2896, allocations: 0 / 1.289 GB, free: 5.328 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.0008298/0.2905, allocations: 462.9 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2905, allocations: 8.031 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.2905, allocations: 4.422 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.2906, allocations: 50.73 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.2911, allocations: 96.67 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2912, allocations: 122.3 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.976e-05/0.2913, allocations: 79.95 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.2914, allocations: 16.38 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.2918, allocations: 245 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2919, allocations: 0 / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2919, allocations: 4 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2919, allocations: 4 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.2922, allocations: 131.9 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2936, allocations: 0.6526 MB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.2956, allocations: 318.3 kB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2958, allocations: 84.83 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.2963, allocations: 63.92 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.2963, allocations: 46.55 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.2963, allocations: 0 / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001642/0.298, allocations: 393.8 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.298, allocations: 55.41 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2982, allocations: 157.5 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.2982, allocations: 29.7 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.2983, allocations: 119.9 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.2983, allocations: 47.53 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.2984, allocations: 41.7 kB / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2985, allocations: 322.8 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.2988, allocations: 79.95 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.299, allocations: 95.89 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.2994, allocations: 150.8 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2994, allocations: 0 / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009042/0.3003, allocations: 294.3 kB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3003, allocations: 8 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3003, allocations: 0 / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.3008, allocations: 124.4 kB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.302, allocations: 111.9 kB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008351/0.3028, allocations: 0.6303 MB / 1.294 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.303, allocations: 27.84 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.303, allocations: 8 kB / 1.294 GB, free: 76 kB / 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.0001518/0.3032, allocations: 119.2 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.3032, allocations: 19.84 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000871/0.3041, allocations: 287.4 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3041, allocations: 0 / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3041, allocations: 0 / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3041, allocations: 3.984 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.306, allocations: 0.6746 MB / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.306, allocations: 0 / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.307, allocations: 95.89 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.3075, allocations: 120.8 kB / 1.295 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.3075, allocations: 15.94 kB / 1.295 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007956/0.3083, allocations: 0.6226 MB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3083, allocations: 11.88 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.3092, allocations: 361.8 kB / 1.296 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.3093, allocations: 11.91 kB / 1.296 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3093, allocations: 4 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.3095, allocations: 19.97 kB / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.3096, allocations: 23.92 kB / 1.296 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3096, allocations: 4 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.846e-05/0.3097, allocations: 119.2 kB / 1.297 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3097, allocations: 0 / 1.297 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004713/0.3102, allocations: 131.5 kB / 1.297 GB, free: 13.33 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.00157/0.3117, allocations: 1.026 MB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00088/0.3126, allocations: 222.3 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3126, allocations: 4 kB / 1.298 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.3132, allocations: 123.8 kB / 1.298 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.3136, allocations: 46.28 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.3175, allocations: 2.227 MB / 1.3 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3176, allocations: 90.94 kB / 1.3 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.3178, allocations: 27.98 kB / 1.3 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.3179, allocations: 39.42 kB / 1.3 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/0.3179, allocations: 0 / 1.3 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.3472, allocations: 7.247 MB / 1.308 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.02, allocations: 7.688 kB / 1.308 GB, free: 2.379 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 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.23850095900707] Failed to read output from testmodel.py, exit status != 0: 13.655036751995794 13.2094017 12.916472778 Calling exit ...