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.001284/0.001284, allocations: 117.1 kB / 17.13 MB, free: 5.941 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.001944/0.001944, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.439/1.439, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.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.002434/0.002434, allocations: 283 kB / 303.6 MB, free: 3.656 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.095/1.095, allocations: 180.9 MB / 0.5268 GB, free: 2.719 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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 103.8 kB / 0.7259 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5979/0.6007, allocations: 94.16 MB / 0.8179 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003054/0.6037, allocations: 2.026 MB / 0.8198 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.6059, allocations: 1.67 MB / 0.8215 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.606, allocations: 2.188 kB / 0.8215 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.399e-05/0.6061, allocations: 17.42 kB / 0.8215 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.6062, allocations: 48.12 kB / 0.8215 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009447/0.6071, allocations: 362.4 kB / 0.8219 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.6074, allocations: 222.4 kB / 0.8221 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.6075, allocations: 40.25 kB / 0.8221 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.6076, allocations: 77.27 kB / 0.8222 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.6078, allocations: 83.38 kB / 0.8223 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.6078, allocations: 22.77 kB / 0.8223 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/0.6087, allocations: 420.5 kB / 0.8227 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.6087, allocations: 37.92 kB / 0.8227 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.6088, allocations: 93.61 kB / 0.8228 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.6094, allocations: 431.1 kB / 0.8232 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6094, allocations: 0 / 0.8232 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6094, allocations: 0 / 0.8232 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6094, allocations: 0 / 0.8232 GB, free: 4.094 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.0007428/0.6102, allocations: 0.5174 MB / 0.8237 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.6102, allocations: 10.5 kB / 0.8238 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/0.6108, allocations: 94.7 kB / 0.8238 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.6109, allocations: 180.5 kB / 0.824 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.611, allocations: 48.94 kB / 0.8241 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.611, allocations: 20.47 kB / 0.8241 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.6114, allocations: 176.3 kB / 0.8243 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6114, allocations: 3.938 kB / 0.8243 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.6114, allocations: 6.625 kB / 0.8243 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6114, allocations: 2.625 kB / 0.8243 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.6119, allocations: 191 kB / 0.8244 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.6131, allocations: 0.9155 MB / 0.8253 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.6136, allocations: 167.1 kB / 0.8255 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.6138, allocations: 67.42 kB / 0.8256 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.6143, allocations: 0.5154 MB / 0.8261 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6143, allocations: 46.16 kB / 0.8261 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.6143, allocations: 0 / 0.8261 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006873/0.615, allocations: 230.1 kB / 0.8263 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.615, allocations: 58.28 kB / 0.8264 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.6152, allocations: 157.7 kB / 0.8265 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.6152, allocations: 31.02 kB / 0.8266 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.6152, allocations: 123.1 kB / 0.8267 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.6153, allocations: 53.11 kB / 0.8267 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.6153, allocations: 40.14 kB / 0.8268 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.6154, allocations: 325.6 kB / 0.8271 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.6156, allocations: 72.41 kB / 0.8272 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.6158, allocations: 96.44 kB / 0.8272 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.6161, allocations: 147 kB / 0.8274 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6161, allocations: 6.594 kB / 0.8274 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004652/0.6166, allocations: 220.8 kB / 0.8276 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6166, allocations: 6.281 kB / 0.8276 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6166, allocations: 0.7969 kB / 0.8276 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.6167, allocations: 0 / 0.8276 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.6169, allocations: 40.84 kB / 0.8276 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6169, allocations: 0.7031 kB / 0.8276 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.6171, allocations: 21.23 kB / 0.8277 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.6171, allocations: 7.984 kB / 0.8277 GB, free: 0.582 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 8.475e-05/0.6172, allocations: 129 kB / 0.8278 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.6172, allocations: 19.03 kB / 0.8278 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.6177, allocations: 194 kB / 0.828 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.6177, allocations: 1.219 kB / 0.828 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6177, allocations: 4.656 kB / 0.828 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6177, allocations: 1.984 kB / 0.828 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.6192, allocations: 0.9834 MB / 0.829 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6192, allocations: 0 / 0.829 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.6194, allocations: 28.3 kB / 0.829 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6194, allocations: 6.688 kB / 0.829 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.6194, allocations: 8.172 kB / 0.829 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.6194, allocations: 0 / 0.829 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6194, allocations: 0.7969 kB / 0.829 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.6199, allocations: 290.8 kB / 0.8293 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.62, allocations: 99.81 kB / 0.8294 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.62, allocations: 0 / 0.8294 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.6203, allocations: 17.36 kB / 0.8294 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.6203, allocations: 17.55 kB / 0.8294 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.6203, allocations: 9.375 kB / 0.8294 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.988e-05/0.6204, allocations: 120 kB / 0.8295 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6204, allocations: 0 / 0.8295 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005333/0.6209, allocations: 133.5 kB / 0.8297 GB, free: 14.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.0004693/0.6214, allocations: 226 kB / 0.8299 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004958/0.6219, allocations: 162.9 kB / 0.83 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6219, allocations: 4.062 kB / 0.83 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.6221, allocations: 78.33 kB / 0.8301 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.6225, allocations: 42.25 kB / 0.8302 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.6233, allocations: 361 kB / 0.8305 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.6237, allocations: 0.71 MB / 0.8312 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.6238, allocations: 22.88 kB / 0.8312 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.6238, allocations: 0 / 0.8312 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.007129/0.6309, allocations: 3.894 MB / 0.835 GB, free: 13.36 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.453212636057287] Failed to read output from testmodel.py, exit status != 0: 0.6389972378965467 0.653721412 0.04143348 Calling exit ...