Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008957/0.0008957, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001045/0.001045, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.92/0.92, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.786/1.786, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.75e-05, allocations: 9.656 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00244/0.002467, allocations: 1.989 MB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.004222, allocations: 1.51 MB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.004293, allocations: 4 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.985e-05/0.004353, allocations: 19.8 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/0.004449, allocations: 59.48 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.005397, allocations: 369.8 kB / 1.005 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.005604, allocations: 227 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.005762, allocations: 41.62 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.005889, allocations: 119.8 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.005999, allocations: 63.84 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.006027, allocations: 24 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.006579, allocations: 411.3 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.006609, allocations: 35.89 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.00667, allocations: 71.83 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.007127, allocations: 482.7 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.007131, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.223e-06/0.007132, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.007138, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 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.0006267/0.007764, allocations: 457.2 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.007807, allocations: 9.344 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.007855, allocations: 54.73 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.009311, allocations: 324.4 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.009426, allocations: 133.5 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/0.00952, allocations: 75.95 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.009551, allocations: 20.38 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.01034, allocations: 386.8 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01036, allocations: 4.125 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.01038, allocations: 4.375 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01039, allocations: 7.938 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.01148, allocations: 371.6 kB / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.01261, allocations: 0.7489 MB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.01495, allocations: 0.6502 MB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.01551, allocations: 192.7 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-05/0.01561, allocations: 15.98 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.01564, allocations: 38.5 kB / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.01564, allocations: 4 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.002345/0.01799, allocations: 0.7089 MB / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.01802, allocations: 59.41 kB / 1.01 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.01813, allocations: 155.9 kB / 1.01 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.01816, allocations: 25.7 kB / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.01823, allocations: 119.9 kB / 1.01 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.01826, allocations: 51.53 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.01833, allocations: 41.69 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.0185, allocations: 330.8 kB / 1.011 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.01906, allocations: 203.8 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.01962, allocations: 201.9 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.02062, allocations: 348.6 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02062, allocations: 0 / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001317/0.02194, allocations: 0.516 MB / 1.012 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.02195, allocations: 4 kB / 1.012 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.02196, allocations: 0 / 1.012 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.02234, allocations: 128.4 kB / 1.012 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.02311, allocations: 151.8 kB / 1.012 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005012/0.02361, allocations: 0.6342 MB / 1.013 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.02391, allocations: 63.88 kB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.02393, allocations: 7.984 kB / 1.013 GB, free: 0.6914 MB / 0.9636 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.0001216/0.02405, allocations: 129.9 kB / 1.013 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.02409, allocations: 19.89 kB / 1.013 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.02559, allocations: 0.5281 MB / 1.014 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.0256, allocations: 0 / 1.014 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.02562, allocations: 4.047 kB / 1.014 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.02562, allocations: 0 / 1.014 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.02821, allocations: 1 MB / 1.015 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.02822, allocations: 4 kB / 1.015 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/0.02897, allocations: 147.8 kB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.02931, allocations: 123.5 kB / 1.015 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.02933, allocations: 7.984 kB / 1.015 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004371/0.02976, allocations: 0.6342 MB / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.02977, allocations: 4 kB / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.03108, allocations: 0.5523 MB / 1.016 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.03111, allocations: 19.89 kB / 1.016 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.03115, allocations: 4 kB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.03146, allocations: 55.92 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.03148, allocations: 7.984 kB / 1.016 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.0315, allocations: 11.98 kB / 1.016 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.186e-05/0.03158, allocations: 117.3 kB / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03158, allocations: 0 / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003844/0.03196, allocations: 131.6 kB / 1.016 GB, free: 13.08 MB / 0.9792 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.001779/0.03374, allocations: 1.229 MB / 1.018 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.03513, allocations: 455.5 kB / 1.018 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.03514, allocations: 8 kB / 1.018 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.03585, allocations: 231.7 kB / 1.018 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.03623, allocations: 53.2 kB / 1.018 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.04151, allocations: 2.915 MB / 1.021 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.04173, allocations: 98.92 kB / 1.021 GB, free: 7.953 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.04191, allocations: 52.06 kB / 1.021 GB, free: 7.902 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.04204, allocations: 52.45 kB / 1.021 GB, free: 7.852 MB / 0.9792 GB Notification: Performance of SimCode: time 1.322e-06/0.04204, allocations: 0 / 1.021 GB, free: 7.852 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08525/0.1273, allocations: 9.338 MB / 1.03 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/8.812, allocations: 3.938 kB / 1.03 GB, free: 14.75 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_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.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 13.373753482475877]