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.001198/0.001198, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001338/0.001338, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 7.961 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.002385/0.002385, allocations: 283.6 kB / 312.7 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.168/1.168, allocations: 180.6 MB / 0.5369 GB, free: 12.88 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.002761/0.002761, allocations: 101.8 kB / 0.7396 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1591, allocations: 95.39 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003115/0.1623, allocations: 2.044 MB / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1647, allocations: 1.698 MB / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.1648, allocations: 0 / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.711e-05/0.1649, allocations: 27.78 kB / 0.8364 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.165, allocations: 51.55 kB / 0.8365 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009517/0.1659, allocations: 354.8 kB / 0.8368 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1662, allocations: 219.1 kB / 0.837 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1663, allocations: 41.73 kB / 0.837 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1664, allocations: 83.78 kB / 0.8371 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1666, allocations: 87.72 kB / 0.8372 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.1666, allocations: 20 kB / 0.8372 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007891/0.1674, allocations: 431.4 kB / 0.8376 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.1674, allocations: 43.84 kB / 0.8377 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.1675, allocations: 83.66 kB / 0.8378 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.1681, allocations: 434.6 kB / 0.8382 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1681, allocations: 3.984 kB / 0.8382 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1681, allocations: 0 / 0.8382 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1681, allocations: 4 kB / 0.8382 GB, free: 3.008 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.0007858/0.1689, allocations: 453.2 kB / 0.8386 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1689, allocations: 13.34 kB / 0.8386 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.169, allocations: 50.73 kB / 0.8387 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.1695, allocations: 92.73 kB / 0.8388 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1696, allocations: 130.3 kB / 0.8389 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.1697, allocations: 71.97 kB / 0.839 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1697, allocations: 16.38 kB / 0.839 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.1701, allocations: 199 kB / 0.8392 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1701, allocations: 0 / 0.8392 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.1702, allocations: 8 kB / 0.8392 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1702, allocations: 7.984 kB / 0.8392 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.1705, allocations: 128.5 kB / 0.8393 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.1718, allocations: 0.6803 MB / 0.84 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.1737, allocations: 330.2 kB / 0.8403 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.1739, allocations: 75.36 kB / 0.8404 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004448/0.1743, allocations: 75.91 kB / 0.8404 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1743, allocations: 42.56 kB / 0.8405 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1743, allocations: 0 / 0.8405 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001548/0.1759, allocations: 385.1 kB / 0.8408 GB, free: 140 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1759, allocations: 55.41 kB / 0.8409 GB, free: 72 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1761, allocations: 157.2 kB / 0.841 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1762, allocations: 25.7 kB / 0.8411 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.1763, allocations: 123.9 kB / 0.8412 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.1763, allocations: 51.53 kB / 0.8412 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.1764, allocations: 41.7 kB / 0.8413 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1765, allocations: 322.8 kB / 0.8416 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1767, allocations: 83.95 kB / 0.8417 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.1769, allocations: 90.47 kB / 0.8417 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.1773, allocations: 152.8 kB / 0.8419 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1773, allocations: 3.938 kB / 0.8419 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008475/0.1782, allocations: 292.9 kB / 0.8422 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1782, allocations: 4 kB / 0.8422 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1782, allocations: 4 kB / 0.8422 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.1787, allocations: 120.7 kB / 0.8423 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.1798, allocations: 107.9 kB / 0.8424 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008271/0.1806, allocations: 0.6304 MB / 0.843 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1808, allocations: 23.88 kB / 0.843 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1808, allocations: 4 kB / 0.843 GB, free: 13.8 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.0001261/0.181, allocations: 126.4 kB / 0.8432 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.181, allocations: 19.84 kB / 0.8432 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008351/0.1818, allocations: 285.4 kB / 0.8435 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1819, allocations: 0 / 0.8435 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1819, allocations: 7.922 kB / 0.8435 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1819, allocations: 4 kB / 0.8435 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.1836, allocations: 0.6974 MB / 0.8441 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1836, allocations: 0 / 0.8441 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.1847, allocations: 96.16 kB / 0.8442 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/0.1852, allocations: 132.7 kB / 0.8444 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.1852, allocations: 8 kB / 0.8444 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007665/0.186, allocations: 0.6265 MB / 0.845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.186, allocations: 0 / 0.845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008519/0.1868, allocations: 369.7 kB / 0.8453 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.1869, allocations: 15.88 kB / 0.8453 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.1869, allocations: 11.94 kB / 0.8454 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.1871, allocations: 15.98 kB / 0.8454 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1872, allocations: 15.97 kB / 0.8454 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1872, allocations: 4 kB / 0.8454 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.927e-05/0.1873, allocations: 121.8 kB / 0.8455 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 0 / 0.8455 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004836/0.1878, allocations: 135.5 kB / 0.8456 GB, free: 11.01 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.001512/0.1893, allocations: 1.015 MB / 0.8466 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000866/0.1901, allocations: 225.8 kB / 0.8468 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1901, allocations: 0 / 0.8468 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.1907, allocations: 127.8 kB / 0.847 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.0004192/0.1911, allocations: 55.88 kB / 0.847 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.1948, allocations: 2.21 MB / 0.8492 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1951, allocations: 0.7086 MB / 0.8499 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.1952, allocations: 21 kB / 0.8499 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.1953, allocations: 39.42 kB / 0.8499 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.1953, allocations: 0 / 0.8499 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.2316, allocations: 6.9 MB / 0.8567 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.27, allocations: 5.656 kB / 0.8567 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 sys.exit(0), Time elapsed: 16.24812290794216] Failed to read output from testmodel.py, exit status != 0: 12.38351125200279 12.399376733 12.228295025 Calling exit ...