Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001281/0.001281, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001461/0.001461, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002365/0.002365, allocations: 290.3 kB / 312.7 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.134/1.134, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002749/0.002749, allocations: 99.38 kB / 0.7395 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1727, allocations: 95.39 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003251/0.176, allocations: 1.969 MB / 0.8346 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.1785, allocations: 1.523 MB / 0.8361 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.1785, allocations: 0 / 0.8361 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.414e-05/0.1786, allocations: 23.8 kB / 0.8361 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.483e-05/0.1787, allocations: 47.55 kB / 0.8361 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009245/0.1796, allocations: 354.8 kB / 0.8365 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1798, allocations: 227.1 kB / 0.8367 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.18, allocations: 45.66 kB / 0.8367 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.1801, allocations: 75.84 kB / 0.8368 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1802, allocations: 79.66 kB / 0.8369 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1802, allocations: 20 kB / 0.8369 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007279/0.181, allocations: 411.4 kB / 0.8373 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.181, allocations: 35.91 kB / 0.8373 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.1811, allocations: 79.72 kB / 0.8374 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.1817, allocations: 438.6 kB / 0.8378 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1817, allocations: 0 / 0.8378 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1817, allocations: 4 kB / 0.8378 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1817, allocations: 7.938 kB / 0.8378 GB, free: 3.012 MB / 0.5762 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.0007942/0.1825, allocations: 453.2 kB / 0.8383 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1825, allocations: 9.344 kB / 0.8383 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.1826, allocations: 54.73 kB / 0.8383 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.1831, allocations: 92.73 kB / 0.8384 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1832, allocations: 134.3 kB / 0.8385 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1833, allocations: 71.95 kB / 0.8386 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1834, allocations: 12.38 kB / 0.8386 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.1838, allocations: 251.1 kB / 0.8389 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1838, allocations: 0 / 0.8389 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.1839, allocations: 8 kB / 0.8389 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.1839, allocations: 4 kB / 0.8389 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.1842, allocations: 123.9 kB / 0.839 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1855, allocations: 0.6335 MB / 0.8396 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.1875, allocations: 326.2 kB / 0.8399 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1877, allocations: 76.81 kB / 0.84 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.1882, allocations: 71.92 kB / 0.8401 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1882, allocations: 42.48 kB / 0.8401 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.1882, allocations: 0 / 0.8401 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001606/0.1898, allocations: 385.1 kB / 0.8405 GB, free: 144 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.1899, allocations: 55.41 kB / 0.8405 GB, free: 76 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.19, allocations: 165.2 kB / 0.8407 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.1901, allocations: 33.64 kB / 0.8407 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.1902, allocations: 115.9 kB / 0.8408 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.1902, allocations: 59.52 kB / 0.8409 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.1903, allocations: 33.7 kB / 0.8409 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1905, allocations: 330.8 kB / 0.8412 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.1907, allocations: 79.95 kB / 0.8413 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.191, allocations: 82.19 kB / 0.8414 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.1914, allocations: 160.8 kB / 0.8415 GB, free: 15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1914, allocations: 0 / 0.8415 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009711/0.1924, allocations: 296.6 kB / 0.8418 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1924, allocations: 4 kB / 0.8418 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1924, allocations: 0 / 0.8418 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.193, allocations: 120.8 kB / 0.8419 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.1942, allocations: 107.9 kB / 0.842 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/0.1952, allocations: 0.6303 MB / 0.8426 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1954, allocations: 27.91 kB / 0.8427 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1954, allocations: 8 kB / 0.8427 GB, free: 13.79 MB / 0.5919 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.0001549/0.1955, allocations: 122.5 kB / 0.8428 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1956, allocations: 15.84 kB / 0.8428 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009358/0.1965, allocations: 293.2 kB / 0.8431 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1965, allocations: 0 / 0.8431 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1965, allocations: 0 / 0.8431 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1965, allocations: 7.984 kB / 0.8431 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.1984, allocations: 0.6716 MB / 0.8438 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1984, allocations: 3.938 kB / 0.8438 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.1996, allocations: 100 kB / 0.8439 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004968/0.2001, allocations: 116.8 kB / 0.844 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2001, allocations: 4 kB / 0.844 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008551/0.201, allocations: 0.642 MB / 0.8446 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.201, allocations: 0 / 0.8446 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.2019, allocations: 365.8 kB / 0.8449 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.2019, allocations: 15.84 kB / 0.845 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.2019, allocations: 4 kB / 0.845 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2022, allocations: 19.97 kB / 0.845 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.2022, allocations: 7.984 kB / 0.845 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.2022, allocations: 8 kB / 0.845 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.824e-05/0.2023, allocations: 125.2 kB / 0.8451 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2023, allocations: 0 / 0.8451 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004586/0.2028, allocations: 131.5 kB / 0.8452 GB, free: 11.04 MB / 0.5919 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.001605/0.2044, allocations: 1.02 MB / 0.8462 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008874/0.2053, allocations: 215.8 kB / 0.8464 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2053, allocations: 0 / 0.8464 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.2058, allocations: 135.9 kB / 0.8466 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.2063, allocations: 49.86 kB / 0.8466 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.2101, allocations: 2.218 MB / 0.8488 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.2102, allocations: 98.94 kB / 0.8489 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000107/0.2103, allocations: 23.88 kB / 0.8489 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/0.2104, allocations: 39.42 kB / 0.8489 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.2104, allocations: 0 / 0.8489 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.2467, allocations: 7.571 MB / 0.8563 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.18, allocations: 3.984 kB / 0.8563 GB, free: 15.75 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.04851610539481] Failed to read output from testmodel.py, exit status != 0: 12.287579704076052 12.302659097 12.118136794 Calling exit ...