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.00118/0.00118, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001266/0.001266, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.337/1.337, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002363/0.002363, allocations: 281.9 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 180.9 MB / 0.5333 GB, free: 13.8 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002654/0.002654, allocations: 101.5 kB / 0.7342 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1641, allocations: 95.34 MB / 0.8273 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003089/0.1672, allocations: 2.038 MB / 0.8293 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002539/0.1697, allocations: 1.679 MB / 0.831 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.1698, allocations: 11.94 kB / 0.831 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.1699, allocations: 15.8 kB / 0.831 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.17, allocations: 51.55 kB / 0.8311 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.1709, allocations: 358.8 kB / 0.8314 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1711, allocations: 223.1 kB / 0.8316 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1713, allocations: 45.47 kB / 0.8317 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1714, allocations: 75.84 kB / 0.8317 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1715, allocations: 95.66 kB / 0.8318 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1715, allocations: 16 kB / 0.8318 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.1723, allocations: 415.5 kB / 0.8322 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.1723, allocations: 51.77 kB / 0.8323 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.1724, allocations: 87.64 kB / 0.8324 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.1729, allocations: 438.6 kB / 0.8328 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.173, allocations: 4 kB / 0.8328 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.173, allocations: 0 / 0.8328 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.173, allocations: 0 / 0.8328 GB, free: 4.262 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.0008389/0.1738, allocations: 0.5217 MB / 0.8333 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1738, allocations: 12.03 kB / 0.8333 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.858e-05/0.1739, allocations: 50.73 kB / 0.8334 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005747/0.1745, allocations: 88.73 kB / 0.8334 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.1746, allocations: 184.2 kB / 0.8336 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.1747, allocations: 50.25 kB / 0.8337 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1748, allocations: 16.38 kB / 0.8337 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.1752, allocations: 183.7 kB / 0.8339 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1752, allocations: 0 / 0.8339 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1752, allocations: 12 kB / 0.8339 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1752, allocations: 4 kB / 0.8339 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.1757, allocations: 175.8 kB / 0.834 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.1771, allocations: 0.9114 MB / 0.8349 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.1776, allocations: 162.5 kB / 0.8351 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.1778, allocations: 68.83 kB / 0.8351 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/0.1785, allocations: 0.5142 MB / 0.8356 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1786, allocations: 38.56 kB / 0.8357 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.1786, allocations: 0 / 0.8357 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007619/0.1793, allocations: 240.9 kB / 0.8359 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1794, allocations: 55.41 kB / 0.836 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1795, allocations: 157.1 kB / 0.8361 GB, free: 464 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1795, allocations: 29.7 kB / 0.8361 GB, free: 428 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.1796, allocations: 127.9 kB / 0.8363 GB, free: 296 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.1797, allocations: 51.52 kB / 0.8363 GB, free: 244 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.1797, allocations: 45.64 kB / 0.8364 GB, free: 192 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1799, allocations: 318.8 kB / 0.8367 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1801, allocations: 75.97 kB / 0.8367 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.1803, allocations: 99.55 kB / 0.8368 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.1807, allocations: 151.5 kB / 0.837 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1807, allocations: 0 / 0.837 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005182/0.1813, allocations: 217.4 kB / 0.8372 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1813, allocations: 8.031 kB / 0.8372 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1813, allocations: 0 / 0.8372 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1813, allocations: 4 kB / 0.8372 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.1815, allocations: 39.91 kB / 0.8372 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1816, allocations: 3.984 kB / 0.8372 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1817, allocations: 31.8 kB / 0.8373 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1818, allocations: 4 kB / 0.8373 GB, free: 15.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.1819, allocations: 133.8 kB / 0.8374 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.1819, allocations: 15.91 kB / 0.8374 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.1825, allocations: 198.4 kB / 0.8376 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1825, allocations: 0 / 0.8376 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1825, allocations: 0 / 0.8376 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1825, allocations: 4 kB / 0.8376 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.184, allocations: 0.9779 MB / 0.8386 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.184, allocations: 0 / 0.8386 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1842, allocations: 31.97 kB / 0.8386 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1842, allocations: 0 / 0.8386 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1842, allocations: 7.938 kB / 0.8386 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1842, allocations: 0 / 0.8386 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1842, allocations: 0 / 0.8386 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.1847, allocations: 297.1 kB / 0.8389 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.1848, allocations: 89 kB / 0.839 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.1848, allocations: 4 kB / 0.839 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.185, allocations: 11.98 kB / 0.839 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1851, allocations: 15.92 kB / 0.839 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1851, allocations: 11.98 kB / 0.839 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.239e-05/0.1852, allocations: 124.5 kB / 0.8391 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1852, allocations: 0 / 0.8391 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004593/0.1856, allocations: 135.5 kB / 0.8393 GB, free: 12.98 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.1867, allocations: 0.9507 MB / 0.8402 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005042/0.1872, allocations: 165.8 kB / 0.8403 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1872, allocations: 0 / 0.8403 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.1875, allocations: 75.89 kB / 0.8404 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1879, allocations: 48.05 kB / 0.8405 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1907, allocations: 2.071 MB / 0.8425 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.191, allocations: 0.7047 MB / 0.8432 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.1911, allocations: 33.41 kB / 0.8432 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1912, allocations: 39.42 kB / 0.8432 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.1912, allocations: 4 kB / 0.8432 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.2217, allocations: 6.16 MB / 0.8493 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8, allocations: 14.95 kB / 0.8493 GB, free: 2.781 MB / 0.5919 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 11.872782280202955] Failed to read output from testmodel.py, exit status != 0: 8.067172868177295 8.084281215 7.908164593 Calling exit ...