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.001415/0.001415, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001594/0.001594, allocations: 220.4 kB / 23.04 MB, free: 5.074 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.002538/0.002538, allocations: 287.3 kB / 313.5 MB, free: 2.777 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.158/1.158, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",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.00263/0.00263, allocations: 99.09 kB / 0.7403 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1737, allocations: 95.38 MB / 0.8335 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003236/0.177, allocations: 2.054 MB / 0.8355 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.1796, allocations: 1.694 MB / 0.8372 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.1796, allocations: 7.938 kB / 0.8372 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.905e-05/0.1797, allocations: 11.86 kB / 0.8372 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.1798, allocations: 51.55 kB / 0.8372 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.1808, allocations: 358.8 kB / 0.8376 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.181, allocations: 223.1 kB / 0.8378 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1812, allocations: 41.72 kB / 0.8378 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1813, allocations: 75.84 kB / 0.8379 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1814, allocations: 95.66 kB / 0.838 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1814, allocations: 16 kB / 0.838 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.1822, allocations: 431.4 kB / 0.8384 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.1823, allocations: 43.84 kB / 0.8385 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.1824, allocations: 87.64 kB / 0.8385 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.1829, allocations: 434.6 kB / 0.839 GB, free: 3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1829, allocations: 0 / 0.839 GB, free: 3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1829, allocations: 0 / 0.839 GB, free: 3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1829, allocations: 0 / 0.839 GB, free: 3 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.0008047/0.1837, allocations: 469.2 kB / 0.8394 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1838, allocations: 9.938 kB / 0.8394 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.1838, allocations: 4.422 kB / 0.8394 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.1839, allocations: 46.73 kB / 0.8395 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.1844, allocations: 96.73 kB / 0.8395 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1845, allocations: 122.3 kB / 0.8397 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/0.1846, allocations: 71.95 kB / 0.8397 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1847, allocations: 20.38 kB / 0.8398 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.1851, allocations: 194.2 kB / 0.8399 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1851, allocations: 4 kB / 0.8399 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.1851, allocations: 4 kB / 0.8399 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.1851, allocations: 4 kB / 0.8399 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1854, allocations: 128.5 kB / 0.8401 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1868, allocations: 0.6724 MB / 0.8407 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.1888, allocations: 334.2 kB / 0.841 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.1891, allocations: 80.81 kB / 0.8411 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.1895, allocations: 71.92 kB / 0.8412 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1895, allocations: 34.5 kB / 0.8412 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 3.497e-06/0.1895, allocations: 7.984 kB / 0.8412 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001631/0.1912, allocations: 398.5 kB / 0.8416 GB, free: 116 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1912, allocations: 51.41 kB / 0.8417 GB, free: 52 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1914, allocations: 154.4 kB / 0.8418 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1914, allocations: 33.7 kB / 0.8418 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.1915, allocations: 115.9 kB / 0.842 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.1915, allocations: 59.52 kB / 0.842 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.1916, allocations: 33.7 kB / 0.842 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1917, allocations: 330.8 kB / 0.8424 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.192, allocations: 75.95 kB / 0.8424 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.1922, allocations: 90.19 kB / 0.8425 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.1926, allocations: 156.7 kB / 0.8427 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1926, allocations: 0 / 0.8427 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008845/0.1935, allocations: 289.4 kB / 0.8429 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1935, allocations: 11.94 kB / 0.843 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1935, allocations: 4 kB / 0.843 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.1941, allocations: 118.4 kB / 0.8431 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.1953, allocations: 107.8 kB / 0.8432 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008888/0.1961, allocations: 0.6265 MB / 0.8438 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.1963, allocations: 23.92 kB / 0.8438 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1963, allocations: 8 kB / 0.8438 GB, free: 13.78 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.0001459/0.1965, allocations: 131.2 kB / 0.8439 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.1965, allocations: 23.84 kB / 0.844 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008977/0.1974, allocations: 285.4 kB / 0.8442 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.1975, allocations: 4 kB / 0.8442 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1975, allocations: 0 / 0.8442 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1975, allocations: 0 / 0.8442 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1993, allocations: 0.6989 MB / 0.8449 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1993, allocations: 0 / 0.8449 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.2004, allocations: 96.02 kB / 0.845 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005032/0.2009, allocations: 127.2 kB / 0.8451 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.2009, allocations: 7.938 kB / 0.8451 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008325/0.2018, allocations: 0.6226 MB / 0.8457 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2018, allocations: 4 kB / 0.8458 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008844/0.2027, allocations: 365.7 kB / 0.8461 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.2027, allocations: 11.95 kB / 0.8461 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.2027, allocations: 4 kB / 0.8461 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.2029, allocations: 19.97 kB / 0.8461 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.203, allocations: 11.98 kB / 0.8461 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.203, allocations: 7.938 kB / 0.8462 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.923e-05/0.2031, allocations: 121.1 kB / 0.8463 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2031, allocations: 3.938 kB / 0.8463 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004931/0.2036, allocations: 139.5 kB / 0.8464 GB, free: 11 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.001643/0.2052, allocations: 1.019 MB / 0.8474 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009061/0.2061, allocations: 219.7 kB / 0.8476 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2062, allocations: 0 / 0.8476 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.2067, allocations: 135.9 kB / 0.8477 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.2072, allocations: 44.11 kB / 0.8478 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.211, allocations: 2.223 MB / 0.85 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2114, allocations: 0.7125 MB / 0.8506 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000108/0.2115, allocations: 21.73 kB / 0.8507 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.2116, allocations: 39.42 kB / 0.8507 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.2116, allocations: 0 / 0.8507 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.2403, allocations: 6.929 MB / 0.8575 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.3, allocations: 12 kB / 0.8575 GB, free: 15.71 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 sys.exit(0), Time elapsed: 16.334090279007796] Failed to read output from testmodel.py, exit status != 0: 12.467335666005965 12.483596188 12.297637028 Calling exit ...