Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001288/0.001288, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001504/0.001504, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.781 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.00245/0.00245, allocations: 291.5 kB / 312.7 MB, free: 2.594 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.169/1.169, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.002776/0.002776, allocations: 105.8 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1665, allocations: 95.39 MB / 0.8327 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003408/0.1699, allocations: 1.963 MB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.1724, allocations: 1.519 MB / 0.8361 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.1725, allocations: 4 kB / 0.8361 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.335e-05/0.1726, allocations: 15.8 kB / 0.8361 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1727, allocations: 51.55 kB / 0.8361 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.1736, allocations: 358.8 kB / 0.8365 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1739, allocations: 219.2 kB / 0.8367 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.174, allocations: 45.7 kB / 0.8367 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1741, allocations: 83.72 kB / 0.8368 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1743, allocations: 79.66 kB / 0.8369 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1743, allocations: 16 kB / 0.8369 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007781/0.1751, allocations: 403.5 kB / 0.8373 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.1752, allocations: 47.89 kB / 0.8373 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.1752, allocations: 71.72 kB / 0.8374 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.1758, allocations: 446.6 kB / 0.8378 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1758, allocations: 0 / 0.8378 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1758, allocations: 0 / 0.8378 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1759, allocations: 0 / 0.8378 GB, free: 2.973 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.0008143/0.1767, allocations: 457.2 kB / 0.8382 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1767, allocations: 12.75 kB / 0.8383 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.1768, allocations: 50.67 kB / 0.8383 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/0.1773, allocations: 96.73 kB / 0.8384 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1774, allocations: 126.2 kB / 0.8385 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.1775, allocations: 71.95 kB / 0.8386 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1776, allocations: 24.38 kB / 0.8386 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.1781, allocations: 242.5 kB / 0.8388 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1781, allocations: 0 / 0.8388 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1781, allocations: 7.984 kB / 0.8389 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1781, allocations: 4 kB / 0.8389 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.1784, allocations: 123.9 kB / 0.839 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.1798, allocations: 0.6452 MB / 0.8396 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.1817, allocations: 322.2 kB / 0.8399 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1819, allocations: 76.83 kB / 0.84 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.1823, allocations: 71.92 kB / 0.8401 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1824, allocations: 34.55 kB / 0.8401 GB, free: 488 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1824, allocations: 4 kB / 0.8401 GB, free: 484 kB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001607/0.184, allocations: 394.8 kB / 0.8405 GB, free: 88 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.184, allocations: 51.41 kB / 0.8405 GB, free: 24 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1842, allocations: 161.4 kB / 0.8407 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1842, allocations: 29.7 kB / 0.8407 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1843, allocations: 111.9 kB / 0.8408 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1844, allocations: 55.53 kB / 0.8409 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.1844, allocations: 37.7 kB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1846, allocations: 326.8 kB / 0.8412 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.1848, allocations: 83.89 kB / 0.8413 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.185, allocations: 86.53 kB / 0.8414 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.1854, allocations: 156.8 kB / 0.8415 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1854, allocations: 3.938 kB / 0.8415 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008906/0.1863, allocations: 292.7 kB / 0.8418 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1863, allocations: 7.938 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1863, allocations: 4 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.1868, allocations: 120.8 kB / 0.8419 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.188, allocations: 107.9 kB / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000885/0.1889, allocations: 0.6303 MB / 0.8426 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1891, allocations: 27.91 kB / 0.8427 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1891, allocations: 4 kB / 0.8427 GB, free: 13.74 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.0001235/0.1892, allocations: 126.5 kB / 0.8428 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1893, allocations: 19.84 kB / 0.8428 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000852/0.1901, allocations: 285.7 kB / 0.8431 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1901, allocations: 4 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1901, allocations: 0 / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1901, allocations: 4.125 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.1918, allocations: 0.6755 MB / 0.8438 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1918, allocations: 4.062 kB / 0.8438 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.193, allocations: 95.89 kB / 0.8438 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/0.1934, allocations: 124.8 kB / 0.844 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1935, allocations: 4 kB / 0.844 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008014/0.1943, allocations: 0.6303 MB / 0.8446 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1943, allocations: 3.938 kB / 0.8446 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.1951, allocations: 369.8 kB / 0.8449 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.1951, allocations: 11.91 kB / 0.845 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1952, allocations: 0 / 0.845 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1954, allocations: 27.91 kB / 0.845 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1954, allocations: 11.92 kB / 0.845 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1954, allocations: 8 kB / 0.845 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.92e-05/0.1955, allocations: 123.2 kB / 0.8451 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1955, allocations: 0 / 0.8451 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000419/0.196, allocations: 131.5 kB / 0.8452 GB, free: 10.99 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.001537/0.1975, allocations: 1.019 MB / 0.8462 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008514/0.1983, allocations: 213.7 kB / 0.8464 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1984, allocations: 8 kB / 0.8464 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.1989, allocations: 123.8 kB / 0.8466 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.000399/0.1993, allocations: 52.02 kB / 0.8466 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.2029, allocations: 2.235 MB / 0.8488 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.203, allocations: 98.88 kB / 0.8489 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.999e-05/0.2031, allocations: 21.7 kB / 0.8489 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.2031, allocations: 35.42 kB / 0.8489 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.2031, allocations: 0 / 0.8489 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.2379, allocations: 7.596 MB / 0.8564 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.35, allocations: 7.25 kB / 0.8564 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.35574814910069] Failed to read output from testmodel.py, exit status != 0: 12.46316179772839 12.490382383 12.309708567 Calling exit ...