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.001531/0.001531, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001639/0.001639, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.777 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.002421/0.002421, allocations: 286.4 kB / 312.7 MB, free: 2.574 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.142/1.142, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.002774/0.002774, allocations: 109 kB / 0.7395 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1702, allocations: 95.37 MB / 0.8326 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003146/0.1733, allocations: 1.977 MB / 0.8346 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1758, allocations: 1.515 MB / 0.836 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1758, allocations: 0 / 0.836 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.537e-05/0.1759, allocations: 23.78 kB / 0.8361 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.176, allocations: 47.55 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.1769, allocations: 366.8 kB / 0.8365 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1772, allocations: 211.2 kB / 0.8367 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1773, allocations: 45.7 kB / 0.8367 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1774, allocations: 87.7 kB / 0.8368 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1775, allocations: 75.67 kB / 0.8369 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.1776, allocations: 20 kB / 0.8369 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.1783, allocations: 407.5 kB / 0.8373 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.1784, allocations: 43.89 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.1785, allocations: 79.72 kB / 0.8374 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.1791, allocations: 430.6 kB / 0.8378 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1791, allocations: 4 kB / 0.8378 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1791, allocations: 0 / 0.8378 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1791, allocations: 0 / 0.8378 GB, free: 3.004 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.0008122/0.1799, allocations: 458.5 kB / 0.8382 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1799, allocations: 9.344 kB / 0.8383 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.18, allocations: 62.67 kB / 0.8383 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.1805, allocations: 84.73 kB / 0.8384 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1807, allocations: 126.3 kB / 0.8385 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.834e-05/0.1808, allocations: 79.95 kB / 0.8386 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1808, allocations: 12.38 kB / 0.8386 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.1812, allocations: 242.5 kB / 0.8388 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1812, allocations: 3.938 kB / 0.8388 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1813, allocations: 11.98 kB / 0.8388 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1813, allocations: 4 kB / 0.8389 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1816, allocations: 128.5 kB / 0.839 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.183, allocations: 0.6452 MB / 0.8396 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.1849, allocations: 318.2 kB / 0.8399 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.1851, allocations: 84.81 kB / 0.84 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/0.1855, allocations: 67.92 kB / 0.8401 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1855, allocations: 34.56 kB / 0.8401 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1855, allocations: 0 / 0.8401 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001583/0.1871, allocations: 392.2 kB / 0.8405 GB, free: 120 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1872, allocations: 59.39 kB / 0.8405 GB, free: 48 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1873, allocations: 149.8 kB / 0.8407 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1874, allocations: 33.7 kB / 0.8407 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.1875, allocations: 115.9 kB / 0.8408 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.1875, allocations: 55.52 kB / 0.8409 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.1876, allocations: 37.7 kB / 0.8409 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1877, allocations: 326.8 kB / 0.8412 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1879, allocations: 83.89 kB / 0.8413 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1882, allocations: 87.95 kB / 0.8414 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.1885, allocations: 154.8 kB / 0.8415 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1886, allocations: 4 kB / 0.8415 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008677/0.1894, allocations: 296.8 kB / 0.8418 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1894, allocations: 4 kB / 0.8418 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1894, allocations: 0 / 0.8418 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.19, allocations: 124.7 kB / 0.8419 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.1912, allocations: 99.95 kB / 0.842 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008552/0.192, allocations: 0.6381 MB / 0.8426 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.1922, allocations: 19.92 kB / 0.8427 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.1922, allocations: 8 kB / 0.8427 GB, free: 13.77 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.0001288/0.1923, allocations: 126.5 kB / 0.8428 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.1924, allocations: 19.84 kB / 0.8428 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/0.1932, allocations: 287.1 kB / 0.8431 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1932, allocations: 0 / 0.8431 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1932, allocations: 4 kB / 0.8431 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1932, allocations: 144 / 0.8431 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.195, allocations: 0.6755 MB / 0.8437 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.195, allocations: 4 kB / 0.8438 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.1961, allocations: 95.95 kB / 0.8438 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.1965, allocations: 131.5 kB / 0.844 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1966, allocations: 4 kB / 0.844 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000793/0.1973, allocations: 0.6303 MB / 0.8446 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1974, allocations: 7.875 kB / 0.8446 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.1982, allocations: 357.9 kB / 0.8449 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.1982, allocations: 15.89 kB / 0.845 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1983, allocations: 8 kB / 0.845 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1985, allocations: 15.98 kB / 0.845 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1985, allocations: 23.84 kB / 0.845 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1985, allocations: 4 kB / 0.845 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.238e-05/0.1986, allocations: 123.2 kB / 0.8451 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1986, allocations: 0 / 0.8451 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004195/0.199, allocations: 127.5 kB / 0.8452 GB, free: 11.02 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.001475/0.2005, allocations: 1.021 MB / 0.8462 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008629/0.2014, allocations: 223.8 kB / 0.8465 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2014, allocations: 0 / 0.8465 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.2019, allocations: 127.8 kB / 0.8466 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.2024, allocations: 52.02 kB / 0.8466 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.2061, allocations: 2.203 MB / 0.8488 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.2062, allocations: 102.9 kB / 0.8489 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000147/0.2064, allocations: 17.38 kB / 0.8489 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.625e-05/0.2065, allocations: 39.42 kB / 0.8489 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.2065, allocations: 4 kB / 0.8489 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.2418, allocations: 7.587 MB / 0.8563 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.44, allocations: 0 / 0.8563 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.41387392114848] Failed to read output from testmodel.py, exit status != 0: 12.552650179248303 12.567920727 12.385889114 Calling exit ...