Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009069/0.0009069, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001088/0.001088, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 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 0.9434/0.9434, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.907/1.907, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009909/0.0009909, allocations: 75.89 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6817, allocations: 180 MB / 1.352 GB, free: 1.652 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00234/0.684, allocations: 1.988 MB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.6856, allocations: 1.511 MB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.6856, allocations: 4 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.6857, allocations: 19.78 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.6857, allocations: 51.55 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009693/0.6867, allocations: 358.8 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.6869, allocations: 219.1 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.687, allocations: 43.69 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.6871, allocations: 79.77 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.6872, allocations: 83.67 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.6872, allocations: 16 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.6877, allocations: 403.5 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.6877, allocations: 47.83 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.6877, allocations: 75.78 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.6881, allocations: 426.6 kB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6881, allocations: 3.938 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6881, allocations: 0 / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6881, allocations: 0 / 1.358 GB, free: 12.34 MB / 1.042 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.0005347/0.6887, allocations: 453.2 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.6887, allocations: 16.92 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.6887, allocations: 50.73 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.6901, allocations: 320.4 kB / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.282e-05/0.6901, allocations: 126.3 kB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.6902, allocations: 75.95 kB / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.6902, allocations: 12.38 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/0.6909, allocations: 397.7 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.691, allocations: 0 / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.691, allocations: 16 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.691, allocations: 4 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009855/0.692, allocations: 360.2 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.693, allocations: 0.7716 MB / 1.36 GB, free: 9.637 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.6951, allocations: 0.6579 MB / 1.361 GB, free: 8.969 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.6956, allocations: 196.7 kB / 1.361 GB, free: 8.773 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.639e-05/0.6956, allocations: 12 kB / 1.361 GB, free: 8.762 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.6957, allocations: 30.56 kB / 1.361 GB, free: 8.723 MB / 1.042 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.6957, allocations: 0 / 1.361 GB, free: 8.723 MB / 1.042 GB Notification: Performance of matching and sorting (n=15): time 0.002105/0.6978, allocations: 0.7283 MB / 1.362 GB, free: 7.992 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.6978, allocations: 51.41 kB / 1.362 GB, free: 7.93 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.6979, allocations: 150.4 kB / 1.362 GB, free: 7.773 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.6979, allocations: 29.7 kB / 1.362 GB, free: 7.738 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.698, allocations: 119.9 kB / 1.362 GB, free: 7.617 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.698, allocations: 55.53 kB / 1.362 GB, free: 7.562 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.6981, allocations: 45.69 kB / 1.362 GB, free: 7.512 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.03e-05/0.6982, allocations: 326.8 kB / 1.362 GB, free: 7.184 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/0.6987, allocations: 199.8 kB / 1.363 GB, free: 6.988 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.6992, allocations: 205.5 kB / 1.363 GB, free: 6.789 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.7004, allocations: 358.2 kB / 1.363 GB, free: 6.438 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7004, allocations: 0 / 1.363 GB, free: 6.438 MB / 1.042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001256/0.7017, allocations: 0.4942 MB / 1.364 GB, free: 5.934 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7017, allocations: 8 kB / 1.364 GB, free: 5.926 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7017, allocations: 0 / 1.364 GB, free: 5.926 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.7021, allocations: 124.8 kB / 1.364 GB, free: 5.801 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.7028, allocations: 159.8 kB / 1.364 GB, free: 5.645 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004627/0.7032, allocations: 0.6459 MB / 1.365 GB, free: 4.973 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.7035, allocations: 59.83 kB / 1.365 GB, free: 4.914 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.7035, allocations: 11.98 kB / 1.365 GB, free: 4.902 MB / 1.042 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 9.418e-05/0.7036, allocations: 136.2 kB / 1.365 GB, free: 4.762 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.7037, allocations: 23.83 kB / 1.365 GB, free: 4.738 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.705, allocations: 0.5144 MB / 1.365 GB, free: 4.215 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.705, allocations: 7.938 kB / 1.365 GB, free: 4.207 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.705, allocations: 0 / 1.365 GB, free: 4.207 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.705, allocations: 7.984 kB / 1.365 GB, free: 4.199 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.7072, allocations: 0.9931 MB / 1.366 GB, free: 3.148 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7072, allocations: 0 / 1.366 GB, free: 3.148 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.7079, allocations: 151.9 kB / 1.366 GB, free: 3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.7081, allocations: 121.8 kB / 1.367 GB, free: 2.879 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.7081, allocations: 7.984 kB / 1.367 GB, free: 2.871 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004036/0.7086, allocations: 0.6303 MB / 1.367 GB, free: 2.215 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7086, allocations: 4 kB / 1.367 GB, free: 2.211 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.7098, allocations: 0.5585 MB / 1.368 GB, free: 1.629 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.7098, allocations: 20.11 kB / 1.368 GB, free: 1.609 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.7098, allocations: 0 / 1.368 GB, free: 1.609 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.7101, allocations: 59.92 kB / 1.368 GB, free: 1.551 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.7101, allocations: 11.98 kB / 1.368 GB, free: 1.539 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.7102, allocations: 19.97 kB / 1.368 GB, free: 1.52 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.7102, allocations: 119.2 kB / 1.368 GB, free: 1.402 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7102, allocations: 0 / 1.368 GB, free: 1.402 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003196/0.7105, allocations: 127.6 kB / 1.368 GB, free: 1.277 MB / 1.042 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.001822/0.7124, allocations: 1.216 MB / 1.369 GB, free: 28 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.7137, allocations: 453.2 kB / 1.37 GB, free: 15.59 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7137, allocations: 0 / 1.37 GB, free: 15.59 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.7144, allocations: 239.8 kB / 1.37 GB, free: 15.35 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.7147, allocations: 54.09 kB / 1.37 GB, free: 15.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.7198, allocations: 2.951 MB / 1.373 GB, free: 12.25 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.7198, allocations: 98.92 kB / 1.373 GB, free: 12.14 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.72, allocations: 51.98 kB / 1.373 GB, free: 12.09 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.7201, allocations: 47.41 kB / 1.373 GB, free: 12.04 MB / 1.057 GB Notification: Performance of SimCode: time 5.91e-07/0.7201, allocations: 0 / 1.373 GB, free: 12.04 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08012/0.8003, allocations: 9.222 MB / 1.382 GB, free: 3.055 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.555, allocations: 7.625 kB / 1.382 GB, free: 3.051 MB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 13.320706021040678]