Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8142/0.8142, allocations: 134 MB / 436.6 MB, free: 1.281 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 68.52 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 84.67 MB / 0.6878 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003324/0.1787, allocations: 2.04 MB / 0.6898 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1812, allocations: 1.671 MB / 0.6914 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.1812, allocations: 3.938 kB / 0.6914 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.691e-05/0.1813, allocations: 23.78 kB / 0.6914 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1814, allocations: 43.56 kB / 0.6915 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009789/0.1824, allocations: 358.8 kB / 0.6918 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1826, allocations: 219.1 kB / 0.692 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1828, allocations: 49.39 kB / 0.6921 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.1829, allocations: 71.84 kB / 0.6921 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.183, allocations: 87.67 kB / 0.6922 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.183, allocations: 20 kB / 0.6923 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.1838, allocations: 419.5 kB / 0.6927 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.1839, allocations: 51.84 kB / 0.6927 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.1839, allocations: 83.64 kB / 0.6928 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.1845, allocations: 434.6 kB / 0.6932 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1845, allocations: 0 / 0.6932 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1845, allocations: 0 / 0.6932 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1845, allocations: 0 / 0.6932 GB, free: 5.535 MB / 0.5137 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.0008784/0.1854, allocations: 0.5239 MB / 0.6937 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1855, allocations: 16.03 kB / 0.6937 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.1855, allocations: 50.73 kB / 0.6938 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005365/0.1861, allocations: 84.73 kB / 0.6939 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.1862, allocations: 192.1 kB / 0.694 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.1863, allocations: 50.25 kB / 0.6941 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1863, allocations: 15.94 kB / 0.6941 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.1867, allocations: 178 kB / 0.6943 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1868, allocations: 3.984 kB / 0.6943 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1868, allocations: 8 kB / 0.6943 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1868, allocations: 4 kB / 0.6943 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.1872, allocations: 184.4 kB / 0.6945 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.1887, allocations: 0.9111 MB / 0.6953 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.1891, allocations: 158.5 kB / 0.6955 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.1893, allocations: 68.83 kB / 0.6956 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.19, allocations: 0.522 MB / 0.6961 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.19, allocations: 30.56 kB / 0.6961 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.19, allocations: 0 / 0.6961 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006966/0.1907, allocations: 239.6 kB / 0.6963 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1908, allocations: 51.41 kB / 0.6964 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1909, allocations: 169.5 kB / 0.6965 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.191, allocations: 29.7 kB / 0.6966 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.1911, allocations: 119.9 kB / 0.6967 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.1911, allocations: 51.56 kB / 0.6967 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.1912, allocations: 41.7 kB / 0.6968 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1913, allocations: 326.7 kB / 0.6971 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1915, allocations: 67.97 kB / 0.6972 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1917, allocations: 105.6 kB / 0.6973 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.1921, allocations: 144.2 kB / 0.6974 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1921, allocations: 0 / 0.6974 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005586/0.1927, allocations: 217.5 kB / 0.6976 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1927, allocations: 4 kB / 0.6976 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1927, allocations: 0 / 0.6976 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1927, allocations: 0 / 0.6976 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.193, allocations: 39.91 kB / 0.6976 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.193, allocations: 4 kB / 0.6976 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.1932, allocations: 31.81 kB / 0.6977 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1932, allocations: 8.031 kB / 0.6977 GB, free: 0.5117 MB / 0.5137 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.0001344/0.1933, allocations: 129.7 kB / 0.6978 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.1933, allocations: 11.95 kB / 0.6978 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.1939, allocations: 206.1 kB / 0.698 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1939, allocations: 4 kB / 0.698 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1939, allocations: 0 / 0.698 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1939, allocations: 0 / 0.698 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.1954, allocations: 0.974 MB / 0.699 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1954, allocations: 0 / 0.699 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.1956, allocations: 35.97 kB / 0.699 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1956, allocations: 3.938 kB / 0.699 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1956, allocations: 4 kB / 0.699 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1956, allocations: 3.938 kB / 0.699 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1956, allocations: 0 / 0.699 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.1961, allocations: 293.2 kB / 0.6993 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.1962, allocations: 92.98 kB / 0.6994 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.1962, allocations: 11.94 kB / 0.6994 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.1964, allocations: 19.92 kB / 0.6994 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1965, allocations: 7.984 kB / 0.6994 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1965, allocations: 15.92 kB / 0.6994 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.845e-05/0.1966, allocations: 115.3 kB / 0.6995 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1966, allocations: 0 / 0.6995 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004608/0.1971, allocations: 131.5 kB / 0.6997 GB, free: 14.26 MB / 0.5294 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.001146/0.1982, allocations: 0.9478 MB / 0.7006 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004792/0.1987, allocations: 167.8 kB / 0.7008 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1987, allocations: 0 / 0.7008 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1989, allocations: 79.95 kB / 0.7008 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1993, allocations: 39.97 kB / 0.7009 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.2022, allocations: 2.059 MB / 0.7029 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.2025, allocations: 0.7125 MB / 0.7036 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.2027, allocations: 29.17 kB / 0.7036 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.2028, allocations: 40.08 kB / 0.7036 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2028, allocations: 0 / 0.7036 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.2332, allocations: 6.083 MB / 0.7096 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.069, allocations: 2.516 kB / 0.7096 GB, free: 4.152 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.441943218931556] Failed to read output from testmodel.py, exit status != 0: 8.140877013094723 8.164083831 7.975471025 Calling exit ...