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.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.001527/0.001527, allocations: 107 kB / 16.45 MB, free: 6.508 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.001586/0.001586, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.303/1.303, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] 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.002365/0.002365, allocations: 284.2 kB / 303 MB, free: 9.492 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.116/1.116, allocations: 180.9 MB / 0.5261 GB, free: 14.64 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.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(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: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 103.8 kB / 0.7248 GB, free: 40.08 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1497, allocations: 94.15 MB / 0.8167 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003261/0.153, allocations: 2.011 MB / 0.8187 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1555, allocations: 1.683 MB / 0.8203 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.1556, allocations: 0 / 0.8203 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.791e-05/0.1556, allocations: 19.8 kB / 0.8203 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1557, allocations: 55.48 kB / 0.8204 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009622/0.1567, allocations: 354.8 kB / 0.8207 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1569, allocations: 219.1 kB / 0.8209 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1571, allocations: 33.48 kB / 0.821 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1572, allocations: 83.77 kB / 0.8211 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1573, allocations: 87.67 kB / 0.8211 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.1574, allocations: 20 kB / 0.8212 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007418/0.1581, allocations: 423.4 kB / 0.8216 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1581, allocations: 43.89 kB / 0.8216 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.1582, allocations: 87.59 kB / 0.8217 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.1588, allocations: 434.9 kB / 0.8221 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1588, allocations: 0 / 0.8221 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1588, allocations: 0 / 0.8221 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1588, allocations: 0 / 0.8221 GB, free: 15.79 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.0008138/0.1596, allocations: 0.5218 MB / 0.8226 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1597, allocations: 15.97 kB / 0.8226 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.1597, allocations: 46.73 kB / 0.8227 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005222/0.1603, allocations: 88.78 kB / 0.8228 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1604, allocations: 184.2 kB / 0.8229 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.592e-05/0.1605, allocations: 50.19 kB / 0.823 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.1605, allocations: 16.38 kB / 0.823 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.1609, allocations: 181.9 kB / 0.8232 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1609, allocations: 3.984 kB / 0.8232 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.161, allocations: 8 kB / 0.8232 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.161, allocations: 4 kB / 0.8232 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.1614, allocations: 187.7 kB / 0.8234 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1628, allocations: 0.9189 MB / 0.8243 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.1632, allocations: 157.7 kB / 0.8244 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.1634, allocations: 64.83 kB / 0.8245 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006879/0.1641, allocations: 0.5259 MB / 0.825 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1641, allocations: 34.56 kB / 0.825 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1641, allocations: 0 / 0.825 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006692/0.1648, allocations: 237.7 kB / 0.8252 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1648, allocations: 55.41 kB / 0.8253 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.165, allocations: 163.9 kB / 0.8255 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.165, allocations: 25.7 kB / 0.8255 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.1651, allocations: 119.9 kB / 0.8256 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1651, allocations: 47.58 kB / 0.8256 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.1652, allocations: 41.64 kB / 0.8257 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1653, allocations: 326.8 kB / 0.826 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1655, allocations: 71.97 kB / 0.8261 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1657, allocations: 101.6 kB / 0.8262 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.1661, allocations: 151.6 kB / 0.8263 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1661, allocations: 3.938 kB / 0.8263 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004851/0.1666, allocations: 213.5 kB / 0.8265 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1666, allocations: 10.66 kB / 0.8265 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1666, allocations: 3.938 kB / 0.8265 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1666, allocations: 0 / 0.8265 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1669, allocations: 35.97 kB / 0.8266 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1669, allocations: 4 kB / 0.8266 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.167, allocations: 27.91 kB / 0.8266 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1671, allocations: 7.984 kB / 0.8266 GB, free: 10.75 MB / 0.5762 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.0001177/0.1672, allocations: 129.7 kB / 0.8267 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1672, allocations: 11.91 kB / 0.8267 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.1677, allocations: 194.4 kB / 0.8269 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1677, allocations: 4 kB / 0.8269 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1677, allocations: 0 / 0.8269 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1677, allocations: 0 / 0.8269 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1692, allocations: 0.9894 MB / 0.8279 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1692, allocations: 0 / 0.8279 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.1694, allocations: 31.97 kB / 0.8279 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1694, allocations: 0 / 0.8279 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1694, allocations: 8 kB / 0.8279 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1694, allocations: 0 / 0.8279 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1694, allocations: 4 kB / 0.8279 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.1699, allocations: 290.3 kB / 0.8282 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.1699, allocations: 97 kB / 0.8283 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.17, allocations: 4 kB / 0.8283 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1702, allocations: 19.98 kB / 0.8283 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1702, allocations: 11.92 kB / 0.8283 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1702, allocations: 7.984 kB / 0.8283 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.78e-05/0.1703, allocations: 117.9 kB / 0.8284 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1703, allocations: 0 / 0.8284 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004427/0.1707, allocations: 135.5 kB / 0.8286 GB, free: 8.504 MB / 0.5762 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.001078/0.1718, allocations: 0.9478 MB / 0.8295 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.1723, allocations: 164.7 kB / 0.8297 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1723, allocations: 4.062 kB / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.1725, allocations: 71.91 kB / 0.8297 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1729, allocations: 52.75 kB / 0.8298 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.1757, allocations: 2.076 MB / 0.8318 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.176, allocations: 0.7086 MB / 0.8325 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.1761, allocations: 28.8 kB / 0.8325 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/0.1762, allocations: 43.42 kB / 0.8326 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.1762, allocations: 0 / 0.8326 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2068, allocations: 6.104 MB / 0.8385 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/7.962, allocations: 13.48 kB / 0.8385 GB, free: 14.34 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 & /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: 11.759634360205382] Failed to read output from testmodel.py, exit status != 0: 8.045786772854626 8.062081874 7.900044057 Calling exit ...