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.001224/0.001224, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00154/0.00154, allocations: 219.3 kB / 23.03 MB, free: 4.945 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002401/0.002401, allocations: 294.9 kB / 313.5 MB, free: 2.637 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.148/1.148, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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.002758/0.002758, allocations: 99.12 kB / 0.7403 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1788, allocations: 95.39 MB / 0.8334 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003261/0.182, allocations: 1.964 MB / 0.8353 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1844, allocations: 1.516 MB / 0.8368 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.1845, allocations: 4 kB / 0.8368 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.1846, allocations: 19.78 kB / 0.8368 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1847, allocations: 51.56 kB / 0.8369 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.1857, allocations: 358.8 kB / 0.8372 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1859, allocations: 223.1 kB / 0.8374 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.186, allocations: 41.72 kB / 0.8375 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1861, allocations: 83.77 kB / 0.8375 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1863, allocations: 91.67 kB / 0.8376 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1863, allocations: 19.94 kB / 0.8377 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007514/0.1871, allocations: 427.5 kB / 0.8381 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.1871, allocations: 43.91 kB / 0.8381 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.1872, allocations: 71.72 kB / 0.8382 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.1878, allocations: 446.6 kB / 0.8386 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1878, allocations: 0 / 0.8386 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1878, allocations: 0 / 0.8386 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1878, allocations: 0 / 0.8386 GB, free: 3.012 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.0008072/0.1886, allocations: 461.2 kB / 0.839 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1887, allocations: 13.34 kB / 0.839 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.563e-05/0.1887, allocations: 4.422 kB / 0.8391 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1887, allocations: 46.73 kB / 0.8391 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/0.1893, allocations: 96.73 kB / 0.8392 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1894, allocations: 122.3 kB / 0.8393 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.1895, allocations: 75.95 kB / 0.8394 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1895, allocations: 16.38 kB / 0.8394 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.19, allocations: 250.3 kB / 0.8396 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.19, allocations: 4 kB / 0.8396 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.19, allocations: 4 kB / 0.8396 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.19, allocations: 4 kB / 0.8396 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.1904, allocations: 136.5 kB / 0.8398 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.1917, allocations: 0.6335 MB / 0.8404 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.1936, allocations: 326.2 kB / 0.8407 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.1938, allocations: 72.83 kB / 0.8408 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004225/0.1942, allocations: 75.91 kB / 0.8408 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1943, allocations: 34.56 kB / 0.8409 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1943, allocations: 0 / 0.8409 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001579/0.1958, allocations: 395.3 kB / 0.8413 GB, free: 120 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1959, allocations: 51.41 kB / 0.8413 GB, free: 56 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.196, allocations: 160.2 kB / 0.8415 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1961, allocations: 33.7 kB / 0.8415 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.1962, allocations: 119.9 kB / 0.8416 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.1962, allocations: 51.53 kB / 0.8417 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1963, allocations: 37.7 kB / 0.8417 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1965, allocations: 322.8 kB / 0.842 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1967, allocations: 83.89 kB / 0.8421 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1969, allocations: 82.53 kB / 0.8422 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.1973, allocations: 164.7 kB / 0.8423 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1973, allocations: 0 / 0.8423 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008673/0.1982, allocations: 292.8 kB / 0.8426 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1982, allocations: 4 kB / 0.8426 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1982, allocations: 4 kB / 0.8426 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.1987, allocations: 123.2 kB / 0.8427 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.1998, allocations: 115.8 kB / 0.8428 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000843/0.2007, allocations: 0.6187 MB / 0.8434 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2008, allocations: 27.92 kB / 0.8435 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2009, allocations: 8 kB / 0.8435 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.0001299/0.201, allocations: 122.5 kB / 0.8436 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.201, allocations: 23.78 kB / 0.8436 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008444/0.2019, allocations: 282.3 kB / 0.8439 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2019, allocations: 4.141 kB / 0.8439 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2019, allocations: 3.984 kB / 0.8439 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2019, allocations: 0 / 0.8439 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.2036, allocations: 0.6716 MB / 0.8445 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2036, allocations: 0 / 0.8445 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.2047, allocations: 96.02 kB / 0.8446 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.2052, allocations: 123.6 kB / 0.8447 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.2052, allocations: 11.92 kB / 0.8448 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000789/0.206, allocations: 0.6265 MB / 0.8454 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.206, allocations: 4 kB / 0.8454 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.2068, allocations: 373.6 kB / 0.8457 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.2069, allocations: 7.953 kB / 0.8457 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.2069, allocations: 11.98 kB / 0.8458 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2071, allocations: 11.98 kB / 0.8458 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.2071, allocations: 15.98 kB / 0.8458 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2072, allocations: 7.984 kB / 0.8458 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001055/0.2073, allocations: 122.2 kB / 0.8459 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2073, allocations: 0 / 0.8459 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004659/0.2077, allocations: 139.5 kB / 0.846 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.001553/0.2093, allocations: 1.018 MB / 0.847 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008451/0.2101, allocations: 223.7 kB / 0.8472 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2101, allocations: 0 / 0.8472 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.2107, allocations: 131.9 kB / 0.8474 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.2111, allocations: 43.91 kB / 0.8474 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.2148, allocations: 2.211 MB / 0.8496 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2149, allocations: 94.94 kB / 0.8497 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.215, allocations: 22.36 kB / 0.8497 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.2151, allocations: 39.56 kB / 0.8497 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.2151, allocations: 0 / 0.8497 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.2459, allocations: 7.272 MB / 0.8568 GB, free: 64 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.31, allocations: 5.938 kB / 0.8568 GB, free: 60 kB / 0.5919 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 os._exit(0), Time elapsed: 16.296588554047048] Failed to read output from testmodel.py, exit status != 0: 12.484694598941132 12.499056366 12.308492452 Calling exit ...